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