Struct wast::component::InstanceType
source · [−]pub struct InstanceType<'a> {
pub decls: Vec<InstanceTypeDecl<'a>>,
}
Expand description
A type definition for an instance type.
Fields
decls: Vec<InstanceTypeDecl<'a>>
The declarations of the instance type.
Trait Implementations
sourceimpl<'a> Debug for InstanceType<'a>
impl<'a> Debug for InstanceType<'a>
sourceimpl From<&'_ InstanceType<'_>> for InstanceType
impl From<&'_ InstanceType<'_>> for InstanceType
sourcefn from(ty: &InstanceType<'_>) -> Self
fn from(ty: &InstanceType<'_>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for InstanceType<'a>
impl<'a> Send for InstanceType<'a>
impl<'a> Sync for InstanceType<'a>
impl<'a> Unpin for InstanceType<'a>
impl<'a> UnwindSafe for InstanceType<'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