#[repr(simd)]pub struct float16x4_t(pub(crate) [f16; 4]);
🔬This is a nightly-only experimental API. (
stdarch_neon_f16
#136306)Expand description
Arm-specific 64-bit wide vector of four packed f16
.
Tuple Fields§
§0: [f16; 4]
🔬This is a nightly-only experimental API. (
stdarch_neon_f16
#136306)Implementations§
Source§impl float16x4_t
impl float16x4_t
Sourcepub(crate) fn splat(value: f16) -> float16x4_t
pub(crate) fn splat(value: f16) -> float16x4_t
Using my_simd([x; N])
seemingly fails tests,
so use this internal helper for it instead.
Sourcepub(crate) const fn as_array(&self) -> &[f16; 4]
pub(crate) const fn as_array(&self) -> &[f16; 4]
Returns an array reference containing the entire SIMD vector.
Sourcepub(crate) fn as_mut_array(&mut self) -> &mut [f16; 4]
pub(crate) fn as_mut_array(&mut self) -> &mut [f16; 4]
Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
Source§impl Clone for float16x4_t
impl Clone for float16x4_t
Source§fn clone(&self) -> float16x4_t
fn clone(&self) -> float16x4_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
Performs copy-assignment from
source
. Read moreSource§impl Debug for float16x4_t
impl Debug for float16x4_t
impl Copy for float16x4_t
Auto Trait Implementations§
impl Freeze for float16x4_t
impl RefUnwindSafe for float16x4_t
impl Send for float16x4_t
impl Sync for float16x4_t
impl Unpin for float16x4_t
impl UnsafeUnpin for float16x4_t
impl UnwindSafe for float16x4_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