pub enum Wat<'a> {
Module(Module<'a>),
Component(Component<'a>),
}
Expand description
A *.wat
file parser, or a parser for one parenthesized module.
This is the top-level type which you’ll frequently parse when working with
this crate. A *.wat
file is either one module
s-expression or a sequence
of s-expressions that are module fields.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Wat<'a>
impl<'a> RefUnwindSafe for Wat<'a>
impl<'a> Send for Wat<'a>
impl<'a> Sync for Wat<'a>
impl<'a> Unpin for Wat<'a>
impl<'a> UnwindSafe for Wat<'a>
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