Enum wast::AliasSource
source · [−]pub enum AliasSource<'a> {
InstanceExport {
instance: ItemRef<'a, instance>,
export: &'a str,
},
Outer {
module: Index<'a>,
index: Index<'a>,
},
}
Variants
InstanceExport
Outer
Fields
module: Index<'a>
The index of the module that this reference is referring to.
index: Index<'a>
The index of the item within module
that this alias is referering
to.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for AliasSource<'a>
impl<'a> Send for AliasSource<'a>
impl<'a> Sync for AliasSource<'a>
impl<'a> Unpin for AliasSource<'a>
impl<'a> UnwindSafe for AliasSource<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more