Struct ssimd::bool32x2
[−]
[src]
#[repr(packed)]pub struct bool32x2(_, _);
Methods
impl bool32x2
[src]
fn new(x0: i32, x1: i32) -> Self
[src]
Create new instance
fn splat(x: i32) -> Self
[src]
Create new instance with all lanes set to a value
fn extract(self, idx: u32) -> i32
[src]
Get the idx
th lane value
fn replace(self, idx: u32, elem: i32) -> Self
[src]
Replace the idx
th lane with new value
fn load(array: &[i32], idx: usize) -> Self
[src]
Load instance from an array
fn store(self, array: &mut [i32], 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
impl bool32x2
[src]
impl bool32x2
[src]
Trait Implementations
impl Debug for bool32x2
[src]
impl Clone for bool32x2
[src]
fn clone(&self) -> bool32x2
[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
impl Copy for bool32x2
[src]
impl Not for bool32x2
[src]
Not trait (!)