pub struct Wast<'a> {
pub directives: Vec<WastDirective<'a>>,
}
Expand description
A parsed representation of a *.wast
file.
WAST files are not officially specified but are used in the official test
suite to write official spec tests for wasm. This type represents a parsed
*.wast
file which parses a list of directives in a file.
Fields
directives: Vec<WastDirective<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Wast<'a>
impl<'a> Send for Wast<'a>
impl<'a> Sync for Wast<'a>
impl<'a> Unpin for Wast<'a>
impl<'a> UnwindSafe for Wast<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more