Enum wast::AssertExpression [−][src]
An expression that is valid inside an assert_return directive.
As of https://github.com/WebAssembly/spec/pull/1104, spec tests may include assert_return
directives that allow NaN patterns ("nan:canonical", "nan:arithmetic"). Parsing an
AssertExpression means that:
- only constant values (e.g.
i32.const 4) are used in theassert_returndirective - the NaN patterns are allowed (they are not allowed in regular
Expressions).
Variants
I32(i32)I64(i64)F32(NanPattern<Float32>)F64(NanPattern<Float64>)V128(V128Pattern)RefExtern(u32)Trait Implementations
impl<'a> Debug for AssertExpression<'a>[src]
impl<'a> Parse<'a> for AssertExpression<'a>[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for AssertExpression<'a>
impl<'a> Send for AssertExpression<'a>
impl<'a> Sync for AssertExpression<'a>
impl<'a> Unpin for AssertExpression<'a>
impl<'a> UnwindSafe for AssertExpression<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,