pub enum FileType {
Wasm,
Wat,
Any,
}Expand description
Module format used by ReaderOptions and WriterOptions.
Variants
Wasm
A binary wasm module.
Wat
A text wasm module in wat format.
Any
Either a binary or text module.
See the documentation for ReaderOptions and WriterOptions
for an explanation of how this is interpreted.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl Send for FileType
impl Sync for FileType
impl Unpin for FileType
impl UnwindSafe for FileType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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