pub enum V128Pattern {
I8x16([i8; 16]),
I16x8([i16; 8]),
I32x4([i32; 4]),
I64x2([i64; 2]),
F32x4([NanPattern<F32>; 4]),
F64x2([NanPattern<F64>; 2]),
}Expand description
A version of V128Const that allows NanPatterns.
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<F32>; 4])
F64x2([NanPattern<F64>; 2])
Trait Implementations§
Source§impl Clone for V128Pattern
impl Clone for V128Pattern
Source§fn clone(&self) -> V128Pattern
fn clone(&self) -> V128Pattern
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for V128Pattern
impl Debug for V128Pattern
Auto Trait Implementations§
impl Freeze for V128Pattern
impl RefUnwindSafe for V128Pattern
impl Send for V128Pattern
impl Sync for V128Pattern
impl Unpin for V128Pattern
impl UnwindSafe for V128Pattern
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