pub struct ComponentExport { /* private fields */ }Expand description
Component export metadata.
Implementations§
Source§impl ComponentExport
impl ComponentExport
Sourcepub const fn new(name: InterfaceName, kind: ComponentItemKind) -> Self
pub const fn new(name: InterfaceName, kind: ComponentItemKind) -> Self
Creates component export metadata.
Sourcepub const fn name(&self) -> &InterfaceName
pub const fn name(&self) -> &InterfaceName
Returns the export name.
Sourcepub const fn kind(&self) -> ComponentItemKind
pub const fn kind(&self) -> ComponentItemKind
Returns the export kind.
Trait Implementations§
Source§impl Clone for ComponentExport
impl Clone for ComponentExport
Source§fn clone(&self) -> ComponentExport
fn clone(&self) -> ComponentExport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentExport
impl Debug for ComponentExport
Source§impl Hash for ComponentExport
impl Hash for ComponentExport
Source§impl PartialEq for ComponentExport
impl PartialEq for ComponentExport
impl Eq for ComponentExport
impl StructuralPartialEq for ComponentExport
Auto Trait Implementations§
impl Freeze for ComponentExport
impl RefUnwindSafe for ComponentExport
impl Send for ComponentExport
impl Sync for ComponentExport
impl Unpin for ComponentExport
impl UnsafeUnpin for ComponentExport
impl UnwindSafe for ComponentExport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more