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