Enum wast::ModuleKind
source · [−]Expand description
The different kinds of ways to define a module.
Variants
Text(Vec<ModuleField<'a>>)
A module defined in the textual s-expression format.
Binary(Vec<&'a [u8]>)
A module that had its raw binary bytes defined via the binary
directive.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for ModuleKind<'a>
impl<'a> Send for ModuleKind<'a>
impl<'a> Sync for ModuleKind<'a>
impl<'a> Unpin for ModuleKind<'a>
impl<'a> UnwindSafe for ModuleKind<'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