Struct wast::component::InstantiationArg
source · [−]pub struct InstantiationArg<'a> {
pub name: &'a str,
pub kind: InstantiationArgKind<'a>,
}
Expand description
An argument to instantiate a component.
Fields
name: &'a str
The name of the instantiation argument.
kind: InstantiationArgKind<'a>
The kind of instantiation argument.
Trait Implementations
sourceimpl<'a> Debug for InstantiationArg<'a>
impl<'a> Debug for InstantiationArg<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for InstantiationArg<'a>
impl<'a> Send for InstantiationArg<'a>
impl<'a> Sync for InstantiationArg<'a>
impl<'a> Unpin for InstantiationArg<'a>
impl<'a> UnwindSafe for InstantiationArg<'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