pub struct Wat<'a> {
pub module: Module<'a>,
}Expand description
A *.wat file in its entirety, including wasm interface types.
This is typically what you’re parsing at the top-level.
Fields§
§module: Module<'a>The module that this *.wat file contained.
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