#[repr(C, align(16))]pub struct u16x8 { /* private fields */ }
Implementations
sourceimpl u16x8
impl u16x8
pub const ONE: u16x8 = unsafe { ConstUnionHack128bit{u16a8: [1; 8],}.u16x8 }
pub const ZERO: u16x8 = unsafe { ConstUnionHack128bit{u16a8: [0; 8],}.u16x8 }
pub const MAX: u16x8 = unsafe { ConstUnionHack128bit{u16a8: [u16::MAX; 8],}.u16x8 }
pub const MIN: u16x8 = unsafe { ConstUnionHack128bit{u16a8: [u16::MIN; 8],}.u16x8 }
sourceimpl u16x8
impl u16x8
pub fn new(array: [u16; 8]) -> Self
pub fn cmp_eq(self, rhs: Self) -> Self
pub fn blend(self, t: Self, f: Self) -> Self
pub fn max(self, rhs: Self) -> Self
pub fn min(self, rhs: Self) -> Self
pub fn to_array(self) -> [u16; 8]
pub fn as_array_ref(&self) -> &[u16; 8]
Trait Implementations
sourceimpl AddAssign<&u16x8> for u16x8
impl AddAssign<&u16x8> for u16x8
sourcefn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the +=
operation. Read more
sourceimpl AddAssign<u16x8> for u16x8
impl AddAssign<u16x8> for u16x8
sourcefn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the +=
operation. Read more
sourceimpl BitAndAssign<&u16x8> for u16x8
impl BitAndAssign<&u16x8> for u16x8
sourcefn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the &=
operation. Read more
sourceimpl BitAndAssign<u16x8> for u16x8
impl BitAndAssign<u16x8> for u16x8
sourcefn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<&u16x8> for u16x8
impl BitOrAssign<&u16x8> for u16x8
sourcefn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the |=
operation. Read more
sourceimpl BitOrAssign<u16x8> for u16x8
impl BitOrAssign<u16x8> for u16x8
sourcefn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the |=
operation. Read more
sourceimpl BitXorAssign<&u16x8> for u16x8
impl BitXorAssign<&u16x8> for u16x8
sourcefn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the ^=
operation. Read more
sourceimpl BitXorAssign<u16x8> for u16x8
impl BitXorAssign<u16x8> for u16x8
sourcefn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the ^=
operation. Read more
sourceimpl SubAssign<&u16x8> for u16x8
impl SubAssign<&u16x8> for u16x8
sourcefn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the -=
operation. Read more
sourceimpl SubAssign<u16x8> for u16x8
impl SubAssign<u16x8> for u16x8
sourcefn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the -=
operation. Read more
impl Copy for u16x8
impl Eq for u16x8
impl Pod for u16x8
impl StructuralEq for u16x8
impl StructuralPartialEq for u16x8
Auto Trait Implementations
impl RefUnwindSafe for u16x8
impl Send for u16x8
impl Sync for u16x8
impl Unpin for u16x8
impl UnwindSafe for u16x8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CheckedBitPattern for T where
T: AnyBitPattern,
impl<T> CheckedBitPattern for T where
T: AnyBitPattern,
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
. Read more
sourcefn 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
. Read more