Struct ssimd::bool8x16
[−]
[src]
#[repr(packed)]pub struct bool8x16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _);
Methods
impl bool8x16
[src]
fn new(
x0: i8,
x1: i8,
x2: i8,
x3: i8,
x4: i8,
x5: i8,
x6: i8,
x7: i8,
x8: i8,
x9: i8,
x10: i8,
x11: i8,
x12: i8,
x13: i8,
x14: i8,
x15: i8
) -> Self
[src]
x0: i8,
x1: i8,
x2: i8,
x3: i8,
x4: i8,
x5: i8,
x6: i8,
x7: i8,
x8: i8,
x9: i8,
x10: i8,
x11: i8,
x12: i8,
x13: i8,
x14: i8,
x15: i8
) -> Self
Create new instance
fn splat(x: i8) -> Self
[src]
Create new instance with all lanes set to a value
fn extract(self, idx: u32) -> i8
[src]
Get the idx
th lane value
fn replace(self, idx: u32, elem: i8) -> Self
[src]
Replace the idx
th lane with new value
fn load(array: &[i8], idx: usize) -> Self
[src]
Load instance from an array
fn store(self, array: &mut [i8], 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 bool8x16
[src]
impl Clone for bool8x16
[src]
fn clone(&self) -> bool8x16
[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