pub struct i64x2 { /* private fields */ }Implementations§
Source§impl i64x2
impl i64x2
pub const fn new(array: [i64; 2]) -> Self
pub fn blend(self, t: Self, f: Self) -> Self
pub fn abs(self) -> Self
pub fn unsigned_abs(self) -> u64x2
pub fn round_float(self) -> f64x2
Sourcepub fn to_bitmask(self) -> u32
pub fn to_bitmask(self) -> u32
returns the bit mask for each high bit set in the vector with the lowest lane being the lowest bit
pub fn to_array(self) -> [i64; 2]
pub fn as_array(&self) -> &[i64; 2]
pub fn as_mut_array(&mut self) -> &mut [i64; 2]
pub fn min(self, rhs: Self) -> Self
pub fn max(self, rhs: Self) -> Self
Trait Implementations§
Source§impl AddAssign<&i64x2> for i64x2
impl AddAssign<&i64x2> for i64x2
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+= operation. Read moreSource§impl AddAssign for i64x2
impl AddAssign for i64x2
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl BitAndAssign<&i64x2> for i64x2
impl BitAndAssign<&i64x2> for i64x2
Source§fn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the
&= operation. Read moreSource§impl BitAndAssign for i64x2
impl BitAndAssign for i64x2
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign<&i64x2> for i64x2
impl BitOrAssign<&i64x2> for i64x2
Source§fn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the
|= operation. Read moreSource§impl BitOrAssign for i64x2
impl BitOrAssign for i64x2
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign<&i64x2> for i64x2
impl BitXorAssign<&i64x2> for i64x2
Source§fn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the
^= operation. Read moreSource§impl BitXorAssign for i64x2
impl BitXorAssign for i64x2
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Shl for i64x2
Shifts lanes by the corresponding lane.
impl Shl for i64x2
Shifts lanes by the corresponding lane.
Bitwise shift-left; yields self << mask(rhs), where mask removes any
high-order bits of rhs that would cause the shift to exceed the bitwidth
of the type. (same as wrapping_shl)
Source§impl Shr for i64x2
Shifts lanes by the corresponding lane.
impl Shr for i64x2
Shifts lanes by the corresponding lane.
Bitwise shift-right; yields self >> mask(rhs), where mask removes any
high-order bits of rhs that would cause the shift to exceed the bitwidth
of the type. (same as wrapping_shr)
Source§impl SubAssign<&i64x2> for i64x2
impl SubAssign<&i64x2> for i64x2
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-= operation. Read moreSource§impl SubAssign for i64x2
impl SubAssign for i64x2
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for i64x2
impl Eq for i64x2
impl Pod for i64x2
impl StructuralPartialEq for i64x2
Auto Trait Implementations§
impl Freeze for i64x2
impl RefUnwindSafe for i64x2
impl Send for i64x2
impl Sync for i64x2
impl Unpin for i64x2
impl UnwindSafe for i64x2
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.