Struct wast::InstanceArg
source · [−]pub struct InstanceArg<'a> {
pub name: &'a str,
pub index: ItemRef<'a, ExportKind>,
}
Expand description
Arguments to the instantiate
instruction
Fields
name: &'a str
index: ItemRef<'a, ExportKind>
Trait Implementations
sourceimpl<'a> Debug for InstanceArg<'a>
impl<'a> Debug for InstanceArg<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for InstanceArg<'a>
impl<'a> Send for InstanceArg<'a>
impl<'a> Sync for InstanceArg<'a>
impl<'a> Unpin for InstanceArg<'a>
impl<'a> UnwindSafe for InstanceArg<'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