Struct HvxVector
#[repr(simd)]
pub struct HvxVector(pub(in ::core_arch::hexagon::v128) [i32; 32]);
HVX vector type (1024 bits / 128 bytes)
This type represents a single HVX vector register containing 32 x 32-bit values.
Fields
0: [i32; 32]
Implementations
impl HvxVector
fn splat(value: i32) -> HvxVectorPut the same value in every lane.
const fn as_array(&self) -> &[i32; 32]Returns an array reference containing the entire SIMD vector.
fn as_mut_array(&mut self) -> &mut [i32; 32]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, 32>> for HvxVector
fn from(simd: Simd<i32, 32>) -> 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) -> TReturns the argument unchanged.
impl<T> Printable for HvxVector
where
T: Copy + Debug,
impl<T> SizeHint for HvxVector
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for HvxVector
impl<T, U> Into<U> for HvxVector
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses 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>