Struct wast::component::CoreInstantiationArg
source · [−]pub struct CoreInstantiationArg<'a> {
pub name: &'a str,
pub kind: CoreInstantiationArgKind<'a>,
}
Expand description
An argument to instantiate a core module.
Fields
name: &'a str
The name of the instantiation argument.
kind: CoreInstantiationArgKind<'a>
The kind of core instantiation argument.
Trait Implementations
sourceimpl<'a> Debug for CoreInstantiationArg<'a>
impl<'a> Debug for CoreInstantiationArg<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoreInstantiationArg<'a>
impl<'a> Send for CoreInstantiationArg<'a>
impl<'a> Sync for CoreInstantiationArg<'a>
impl<'a> Unpin for CoreInstantiationArg<'a>
impl<'a> UnwindSafe for CoreInstantiationArg<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more