Struct ssimd::bool16x16
[−]
[src]
#[repr(packed)]pub struct bool16x16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
Methods
impl bool16x16
[src]
fn new(
x0: i16,
x1: i16,
x2: i16,
x3: i16,
x4: i16,
x5: i16,
x6: i16,
x7: i16,
x8: i16,
x9: i16,
x10: i16,
x11: i16,
x12: i16,
x13: i16,
x14: i16,
x15: i16
) -> Self
[src]
x0: i16,
x1: i16,
x2: i16,
x3: i16,
x4: i16,
x5: i16,
x6: i16,
x7: i16,
x8: i16,
x9: i16,
x10: i16,
x11: i16,
x12: i16,
x13: i16,
x14: i16,
x15: i16
) -> Self
Create new instance
fn splat(x: i16) -> Self
[src]
Create new instance with all lanes set to a value
fn extract(self, idx: u32) -> i16
[src]
Get the idx
th lane value
fn replace(self, idx: u32, elem: i16) -> Self
[src]
Replace the idx
th lane with new value
fn load(array: &[i16], idx: usize) -> Self
[src]
Load instance from an array
fn store(self, array: &mut [i16], idx: usize)
[src]
Store self to an array
fn all(self) -> bool
[src]
Check if all lanes are true
fn any(self) -> bool
[src]
Check if at least one lane is true
Trait Implementations
impl Debug for bool16x16
[src]
impl Clone for bool16x16
[src]
fn clone(&self) -> bool16x16
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more