#[repr(C)]pub struct Vector<S: Simd, T: Scalar> { /* private fields */ }Implementations§
Source§impl<S: Simd, T: VOrd> Vector<S, T>
impl<S: Simd, T: VOrd> Vector<S, T>
Sourcepub fn lt(self, b: Self) -> T::Mask<S>
pub fn lt(self, b: Self) -> T::Mask<S>
Apply elementwise PartialOrd::lt on two vectors
Sourcepub fn le(self, b: Self) -> T::Mask<S>
pub fn le(self, b: Self) -> T::Mask<S>
Apply elementwise PartialOrd::le on two vectors
Sourcepub fn gt(self, b: Self) -> T::Mask<S>
pub fn gt(self, b: Self) -> T::Mask<S>
Apply elementwise PartialOrd::gt on two vectors
Sourcepub fn ge(self, b: Self) -> T::Mask<S>
pub fn ge(self, b: Self) -> T::Mask<S>
Apply elementwise PartialOrd::ge on two vectors
Trait Implementations§
Source§impl<S: Simd, T: VAdd> AddAssign for Vector<S, T>
impl<S: Simd, T: VAdd> AddAssign for Vector<S, T>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<S: Simd, T: VBitAnd> BitAndAssign for Vector<S, T>
impl<S: Simd, T: VBitAnd> BitAndAssign for Vector<S, T>
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl<S: Simd, T: VBitOr> BitOrAssign for Vector<S, T>
impl<S: Simd, T: VBitOr> BitOrAssign for Vector<S, T>
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl<S: Simd, T: VBitXor> BitXorAssign for Vector<S, T>
impl<S: Simd, T: VBitXor> BitXorAssign for Vector<S, T>
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl<S: Simd, T: VDiv> DivAssign for Vector<S, T>
impl<S: Simd, T: VDiv> DivAssign for Vector<S, T>
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/= operation. Read moreSource§impl<S: Simd, T: VMul> MulAssign for Vector<S, T>
impl<S: Simd, T: VMul> MulAssign for Vector<S, T>
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl<S: Simd, T: VSub> SubAssign for Vector<S, T>
impl<S: Simd, T: VSub> SubAssign for Vector<S, T>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl<S: Simd, T: Scalar> Copy for Vector<S, T>
impl<S: Simd, T: Scalar> Pod for Vector<S, T>
Auto Trait Implementations§
impl<S, T> Freeze for Vector<S, T>
impl<S, T> RefUnwindSafe for Vector<S, T>
impl<S, T> Send for Vector<S, T>
impl<S, T> Sync for Vector<S, T>
impl<S, T> Unpin for Vector<S, T>
impl<S, T> UnwindSafe for Vector<S, T>
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.