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