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