Struct wast::core::Expression
source · [−]pub struct Expression<'a> {
pub instrs: Box<[Instruction<'a>]>,
}
Expand description
An expression, or a list of instructions, in the WebAssembly text format.
This expression type will parse s-expression-folded instructions into a flat
list of instructions for emission later on. The implicit end
instruction
at the end of an expression is not included in the instrs
field.
Fields
instrs: Box<[Instruction<'a>]>
Trait Implementations
sourceimpl<'a> Debug for Expression<'a>
impl<'a> Debug for Expression<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Expression<'a>
impl<'a> Send for Expression<'a>
impl<'a> Sync for Expression<'a>
impl<'a> Unpin for Expression<'a>
impl<'a> UnwindSafe for Expression<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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