Struct wast::Alias [−][src]
An alias
statement used to juggle indices with nested modules.
Fields
span: Span
Where this alias
was defined.
id: Option<Id<'a>>
An identifier that this alias is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>
An optional name for this alias stored in the custom name
section.
kind: AliasKind<'a>
The item in the parent instance that we’re aliasing.
Implementations
impl Alias<'_>
[src][−]
pub fn item_kind(&self) -> ExportKind
[src][−]
Returns the kind of item defined by this alias.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Alias<'a>
impl<'a> Send for Alias<'a>
impl<'a> Sync for Alias<'a>
impl<'a> Unpin for Alias<'a>
impl<'a> UnwindSafe for Alias<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,