Struct HvxVectorPred

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

HVX vector predicate type (512 bits / 64 bytes)

This type represents a predicate vector used for conditional operations. Each bit corresponds to a lane in the vector.

Fields

0: [i32; 16]

Implementations

impl HvxVectorPred

fn splat(value: i32) -> HvxVectorPred

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 HvxVectorPred

fn clone(&self) -> HvxVectorPred

impl Copy for HvxVectorPred

impl Debug for HvxVectorPred

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

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

fn from(simd: Simd<i32, 16>) -> 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) -> T

Returns the argument unchanged.

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

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

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

impl<T> SizedTypeProperties for HvxVectorPred

impl<T, U> Into<U> for HvxVectorPred 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 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>