Enum golem_wasm_ast::component::Alias
source · pub enum Alias {
InstanceExport {
kind: ComponentExternalKind,
instance_idx: InstanceIdx,
name: String,
},
CoreInstanceExport {
kind: ExportKind,
instance_idx: InstanceIdx,
name: String,
},
Outer {
kind: OuterAliasKind,
target: AliasTarget,
},
}
Variants§
Trait Implementations§
source§impl From<&Alias> for ComponentAliasSection
impl From<&Alias> for ComponentAliasSection
source§impl PartialEq for Alias
impl PartialEq for Alias
source§impl Section<ComponentIndexSpace, ComponentSectionType> for Alias
impl Section<ComponentIndexSpace, ComponentSectionType> for Alias
fn index_space(&self) -> ComponentIndexSpace
fn section_type(&self) -> ComponentSectionType
source§impl<'a> TryFrom<ComponentAlias<'a>> for Alias
impl<'a> TryFrom<ComponentAlias<'a>> for Alias
impl Eq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.