#[repr(simd)]pub(crate) struct u16x2(pub u16, pub u16);
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Tuple Fields§
§0: u16
🔬This is a nightly-only experimental API. (
§stdsimd
#48556)1: u16
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Implementations§
source§impl u16x2
impl u16x2
pub(crate) const fn new(x0: u16, x1: u16) -> Self
🔬This is a nightly-only experimental API. (
stdsimd
#48556)pub(crate) const fn splat(value: u16) -> Self
🔬This is a nightly-only experimental API. (
stdsimd
#48556)pub(crate) fn extract(self, index: usize) -> u16
🔬This is a nightly-only experimental API. (
stdsimd
#48556)Trait Implementations§
source§impl PartialEq<u16x2> for u16x2
impl PartialEq<u16x2> for u16x2
impl Copy for u16x2
impl StructuralPartialEq for u16x2
Auto Trait Implementations§
impl Freeze for u16x2
impl RefUnwindSafe for u16x2
impl Send for u16x2
impl Sync for u16x2
impl Unpin for u16x2
impl UnwindSafe for u16x2
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