#[repr(simd)]pub struct HvxVector([i32; 32]);🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Available on
target_arch=hexagon only.Expand description
HVX vector type (1024 bits / 128 bytes)
This type represents a single HVX vector register containing 32 x 32-bit values.
Tuple Fields§
§0: [i32; 32]🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Implementations§
Source§impl HvxVector
impl HvxVector
Sourcefn splat(value: i32) -> HvxVector
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn splat(value: i32) -> HvxVector
stdarch_hexagon #151523)Put the same value in every lane.
Sourceconst fn as_array(&self) -> &[i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
const fn as_array(&self) -> &[i32; 32]
stdarch_hexagon #151523)Returns an array reference containing the entire SIMD vector.
Sourcefn as_mut_array(&mut self) -> &mut [i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn as_mut_array(&mut self) -> &mut [i32; 32]
stdarch_hexagon #151523)Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
impl Copy for HvxVector
impl TrivialClone for HvxVector
Auto Trait Implementations§
impl Freeze for HvxVector
impl RefUnwindSafe for HvxVector
impl Send for HvxVector
impl Sync for HvxVector
impl Unpin for HvxVector
impl UnsafeUnpin for HvxVector
impl UnwindSafe for HvxVector
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 SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
🔬This is a nightly-only experimental API. (
ptr_alignment_type #102070)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