[−][src]Struct simulated_packed_simd::bool64x2
Methods
impl bool64x2
[src]
pub fn new(x0: i64, x1: i64) -> Self
[src]
Create new instance
pub fn splat(x: i64) -> Self
[src]
Create new instance with all lanes set to a value
pub fn extract(self, idx: usize) -> i64
[src]
Get the idx
th lane value
pub fn replace(self, idx: usize, elem: i64) -> Self
[src]
Replace the idx
th lane with new value
pub fn load(array: &[i64], idx: usize) -> Self
[src]
Load instance from an array
pub fn from_slice_aligned(slice: &[i64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn from_slice_unaligned(slice: &[i64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_aligned_unchecked(slice: &[i64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub unsafe fn from_slice_unaligned_unchecked(slice: &[i64]) -> Self
[src]
Instantiates a new vector with the values of the slice.
pub fn store(self, array: &mut [i64], idx: usize)
[src]
Store self to an array
pub fn write_to_slice_aligned(self, slice: &mut [i64])
[src]
Writes the values of the vector to the slice.
pub fn write_to_slice_unaligned(self, slice: &mut [i64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_aligned_unchecked(self, slice: &mut [i64])
[src]
Writes the values of the vector to the slice.
pub unsafe fn write_to_slice_unaligned_unchecked(self, slice: &mut [i64])
[src]
Writes the values of the vector to the slice.
pub fn all(self) -> bool
[src]
Check if all lanes are true
pub fn any(self) -> bool
[src]
Check if at least one lane is true
impl bool64x2
[src]
impl bool64x2
[src]
Trait Implementations
impl Clone for bool64x2
[src]
impl Copy for bool64x2
[src]
impl Debug for bool64x2
[src]
impl From<bool64x2> for i64x2
[src]
impl From<bool64x2> for u64x2
[src]
impl FromCast<bool64x2> for i64x2
[src]
impl FromCast<bool64x2> for u64x2
[src]
impl Not for bool64x2
[src]
Auto Trait Implementations
impl RefUnwindSafe for bool64x2
impl Send for bool64x2
impl Sync for bool64x2
impl Unpin for bool64x2
impl UnwindSafe for bool64x2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,