Struct HvxVectorPair
#[repr(simd)]
pub struct HvxVectorPair(pub(in ::core_arch::hexagon::v64) [i32; 32]);
HVX vector pair type (1024 bits / 128 bytes)
This type represents a pair of HVX vector registers, often used for operations that produce double-width results.
Fields
0: [i32; 32]
Implementations
impl HvxVectorPair
fn splat(value: i32) -> HvxVectorPairPut 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 HvxVectorPair
fn clone(&self) -> HvxVectorPair
impl Copy for HvxVectorPair
impl Debug for HvxVectorPair
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl From<Simd<i32, 32>> for HvxVectorPair
fn from(simd: Simd<i32, 32>) -> Self
impl TrivialClone for HvxVectorPair
Auto Trait Implementations
impl Freeze for HvxVectorPair
impl RefUnwindSafe for HvxVectorPair
impl Send for HvxVectorPair
impl Sync for HvxVectorPair
impl Unpin for HvxVectorPair
impl UnsafeUnpin for HvxVectorPair
impl UnwindSafe for HvxVectorPair
Blanket Implementations
impl<T> Any for HvxVectorPair
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for HvxVectorPair
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for HvxVectorPair
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for HvxVectorPair
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for HvxVectorPair
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Printable for HvxVectorPair
where
T: Copy + Debug,
impl<T> SizeHint for HvxVectorPair
where
T: ?Sized,
fn lower_bound(&self) -> usizefn upper_bound(&self) -> Option<usize>
impl<T> SizedTypeProperties for HvxVectorPair
impl<T, U> Into<U> for HvxVectorPair
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 HvxVectorPair
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 HvxVectorPair
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>