Enum wast::core::V128Pattern
source · [−]pub enum V128Pattern {
I8x16([i8; 16]),
I16x8([i16; 8]),
I32x4([i32; 4]),
I64x2([i64; 2]),
F32x4([NanPattern<Float32>; 4]),
F64x2([NanPattern<Float64>; 2]),
}
Expand description
A version of V128Const
that allows NanPattern
s.
This implementation is necessary because only float types can include NaN patterns; otherwise
it is largely similar to the implementation of V128Const
.
Variants
I8x16([i8; 16])
I16x8([i16; 8])
I32x4([i32; 4])
I64x2([i64; 2])
F32x4([NanPattern<Float32>; 4])
F64x2([NanPattern<Float64>; 2])
Trait Implementations
sourceimpl Debug for V128Pattern
impl Debug for V128Pattern
Auto Trait Implementations
impl RefUnwindSafe for V128Pattern
impl Send for V128Pattern
impl Sync for V128Pattern
impl Unpin for V128Pattern
impl UnwindSafe for V128Pattern
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