Struct HvxVector

#[repr(simd)]
pub struct HvxVector(pub(in ::core_arch::hexagon::v64) [i32; 16]);

HVX vector type (512 bits / 64 bytes)

This type represents a single HVX vector register containing 16 x 32-bit values.

Fields

0: [i32; 16]

Implementations

impl HvxVector

fn splat(value: i32) -> HvxVector

Put the same value in every lane.

const fn as_array(&self) -> &[i32; 16]

Returns an array reference containing the entire SIMD vector.

fn as_mut_array(&mut self) -> &mut [i32; 16]

Returns a mutable array reference containing the entire SIMD vector.

Trait Implementations

impl Clone for HvxVector

fn clone(&self) -> HvxVector

impl Copy for HvxVector

impl Debug for HvxVector

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl From<Simd<i32, 16>> for HvxVector

fn from(simd: Simd<i32, 16>) -> Self

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

impl<T> Any for HvxVector where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for HvxVector where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for HvxVector where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for HvxVector where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for HvxVector

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Printable for HvxVector where T: Copy + Debug,

impl<T> SizeHint for HvxVector where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for HvxVector

impl<T, U> Into<U> for HvxVector where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for HvxVector where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for HvxVector where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>