#[repr(C, align(32))]pub struct mask16x16<S: Simd> {
pub val: [i16; 16],
pub simd: S,
}
Fields§
§val: [i16; 16]
§simd: S
Implementations§
Source§impl<S: Simd> mask16x16<S>
impl<S: Simd> mask16x16<S>
pub fn not(self) -> mask16x16<S>
pub fn and(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn or(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn xor(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn simd_eq(self, rhs: impl SimdInto<Self, S>) -> mask16x16<S>
pub fn combine(self, rhs: impl SimdInto<Self, S>) -> mask16x32<S>
Trait Implementations§
Source§impl<S: Simd> SimdBase<i16, S> for mask16x16<S>
impl<S: Simd> SimdBase<i16, S> for mask16x16<S>
const N: usize = 16usize
fn as_slice(&self) -> &[i16]
fn as_mut_slice(&mut self) -> &mut [i16]
Source§fn from_slice(simd: S, slice: &[i16]) -> Self
fn from_slice(simd: S, slice: &[i16]) -> Self
Create a SIMD vector from a slice. Read more
fn splat(simd: S, val: i16) -> Self
fn block_splat(block: Self::Block) -> Self
impl<S: Copy + Simd> Copy for mask16x16<S>
Auto Trait Implementations§
impl<S> Freeze for mask16x16<S>where
S: Freeze,
impl<S> RefUnwindSafe for mask16x16<S>where
S: RefUnwindSafe,
impl<S> Send for mask16x16<S>
impl<S> Sync for mask16x16<S>
impl<S> Unpin for mask16x16<S>where
S: Unpin,
impl<S> UnwindSafe for mask16x16<S>where
S: UnwindSafe,
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