#[repr(simd)]pub struct int16x8_t(pub(crate) [i16; 8]);
Expand description
Arm-specific 128-bit wide vector of eight packed i16
.
Tuple Fields§
§0: [i16; 8]
Implementations§
Source§impl int16x8_t
impl int16x8_t
Sourcepub(crate) fn splat(value: i16) -> int16x8_t
pub(crate) fn splat(value: i16) -> int16x8_t
Using my_simd([x; N])
seemingly fails tests,
so use this internal helper for it instead.
Sourcepub(crate) const fn as_array(&self) -> &[i16; 8]
pub(crate) const fn as_array(&self) -> &[i16; 8]
Returns an array reference containing the entire SIMD vector.
Sourcepub(crate) fn as_mut_array(&mut self) -> &mut [i16; 8]
pub(crate) fn as_mut_array(&mut self) -> &mut [i16; 8]
Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
Source§impl AsSigned for int16x8_t
impl AsSigned for int16x8_t
type Signed = uint16x8_t
fn as_signed(self) -> uint16x8_t
Source§impl AsUnsigned for int16x8_t
impl AsUnsigned for int16x8_t
type Unsigned = uint16x8_t
fn as_unsigned(self) -> uint16x8_t
impl Copy for int16x8_t
Auto Trait Implementations§
impl Freeze for int16x8_t
impl RefUnwindSafe for int16x8_t
impl Send for int16x8_t
impl Sync for int16x8_t
impl Unpin for int16x8_t
impl UnsafeUnpin for int16x8_t
impl UnwindSafe for int16x8_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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more