Enum wasmparser_nostd::Encoding
source · pub enum Encoding {
Module,
Component,
}
Expand description
The supported encoding formats for the parser.
Variants§
Module
The encoding format is a WebAssembly module.
Component
The encoding format is a WebAssembly component.
Trait Implementations§
source§impl PartialEq for Encoding
impl PartialEq for Encoding
impl Copy for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more