#[repr(C, align(32))]pub struct u16x16 { /* private fields */ }
Implementations§
source§impl u16x16
impl u16x16
pub fn new(array: [u16; 16]) -> 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 saturating_add(self, rhs: Self) -> Self
pub fn saturating_sub(self, rhs: Self) -> Self
pub fn to_array(self) -> [u16; 16]
pub fn as_array_ref(&self) -> &[u16; 16]
pub fn as_array_mut(&mut self) -> &mut [u16; 16]
Trait Implementations§
source§impl AddAssign<&u16x16> for u16x16
impl AddAssign<&u16x16> for u16x16
source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+=
operation. Read moresource§impl AddAssign for u16x16
impl AddAssign for u16x16
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl BitAndAssign<&u16x16> for u16x16
impl BitAndAssign<&u16x16> for u16x16
source§fn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
Performs the
&=
operation. Read moresource§impl BitAndAssign for u16x16
impl BitAndAssign for u16x16
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign<&u16x16> for u16x16
impl BitOrAssign<&u16x16> for u16x16
source§fn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
Performs the
|=
operation. Read moresource§impl BitOrAssign for u16x16
impl BitOrAssign for u16x16
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign<&u16x16> for u16x16
impl BitXorAssign<&u16x16> for u16x16
source§fn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
Performs the
^=
operation. Read moresource§impl BitXorAssign for u16x16
impl BitXorAssign for u16x16
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl MulAssign<&u16x16> for u16x16
impl MulAssign<&u16x16> for u16x16
source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*=
operation. Read moresource§impl MulAssign for u16x16
impl MulAssign for u16x16
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl SubAssign<&u16x16> for u16x16
impl SubAssign<&u16x16> for u16x16
source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-=
operation. Read moresource§impl SubAssign for u16x16
impl SubAssign for u16x16
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for u16x16
impl Eq for u16x16
impl Pod for u16x16
impl StructuralPartialEq for u16x16
Auto Trait Implementations§
impl Freeze for u16x16
impl RefUnwindSafe for u16x16
impl Send for u16x16
impl Sync for u16x16
impl Unpin for u16x16
impl UnwindSafe for u16x16
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
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)