pub enum ComponentExportAliasKind {
CoreModule,
Func,
Value,
Type,
Component,
Instance,
}Available on crate feature
component-model only.Expand description
Represents the kind of instance export alias.
Variants§
CoreModule
The alias is to a core module export.
Func
The alias is to a function export.
Value
The alias is to a value export.
Type
The alias is to a type export.
Component
The alias is to a component export.
Instance
The alias is to an instance export.
Trait Implementations§
Source§impl Clone for ComponentExportAliasKind
impl Clone for ComponentExportAliasKind
Source§fn clone(&self) -> ComponentExportAliasKind
fn clone(&self) -> ComponentExportAliasKind
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 ComponentExportAliasKind
impl Debug for ComponentExportAliasKind
Source§impl From<ComponentExportAliasKind> for ComponentExportKind
impl From<ComponentExportAliasKind> for ComponentExportKind
Source§fn from(kind: ComponentExportAliasKind) -> Self
fn from(kind: ComponentExportAliasKind) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for ComponentExportAliasKind
impl<'a> Parse<'a> for ComponentExportAliasKind
Source§impl PartialEq for ComponentExportAliasKind
impl PartialEq for ComponentExportAliasKind
impl Copy for ComponentExportAliasKind
impl Eq for ComponentExportAliasKind
impl StructuralPartialEq for ComponentExportAliasKind
Auto Trait Implementations§
impl Freeze for ComponentExportAliasKind
impl RefUnwindSafe for ComponentExportAliasKind
impl Send for ComponentExportAliasKind
impl Sync for ComponentExportAliasKind
impl Unpin for ComponentExportAliasKind
impl UnwindSafe for ComponentExportAliasKind
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