pub enum ComponentOuterAliasKind {
CoreModule,
CoreType,
Type,
Component,
}Expand description
Represents the kinds of outer aliasable items in a component.
Variants§
CoreModule
The alias is to a core module.
CoreType
The alias is to a core type.
Type
The alias is to a type.
Component
The alias is to a component.
Trait Implementations§
Source§impl Clone for ComponentOuterAliasKind
Available on crate feature component-model only.
impl Clone for ComponentOuterAliasKind
Available on crate feature
component-model only.Source§fn clone(&self) -> ComponentOuterAliasKind
fn clone(&self) -> ComponentOuterAliasKind
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 ComponentOuterAliasKind
Available on crate feature component-model only.
impl Debug for ComponentOuterAliasKind
Available on crate feature
component-model only.Source§impl Encode for ComponentOuterAliasKind
Available on crate feature component-model only.
impl Encode for ComponentOuterAliasKind
Available on crate feature
component-model only.Source§impl From<ComponentOuterAliasKind> for ComponentOuterAliasKind
Available on crate features component-model and wasmparser only.
impl From<ComponentOuterAliasKind> for ComponentOuterAliasKind
Available on crate features
component-model and wasmparser only.Source§fn from(kind: ComponentOuterAliasKind) -> Self
fn from(kind: ComponentOuterAliasKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ComponentOuterAliasKind
Available on crate feature component-model only.
impl PartialEq for ComponentOuterAliasKind
Available on crate feature
component-model only.impl Copy for ComponentOuterAliasKind
Available on crate feature
component-model only.impl Eq for ComponentOuterAliasKind
Available on crate feature
component-model only.impl StructuralPartialEq for ComponentOuterAliasKind
Available on crate feature
component-model only.Auto Trait Implementations§
impl Freeze for ComponentOuterAliasKind
impl RefUnwindSafe for ComponentOuterAliasKind
impl Send for ComponentOuterAliasKind
impl Sync for ComponentOuterAliasKind
impl Unpin for ComponentOuterAliasKind
impl UnwindSafe for ComponentOuterAliasKind
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