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> Freeze for Wast<'a>
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§
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