#[repr(simd)]pub struct HvxVectorPred([i32; 32]);🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Available on
target_arch=hexagon only.Expand description
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.
Tuple Fields§
§0: [i32; 32]🔬This is a nightly-only experimental API. (
stdarch_hexagon #151523)Implementations§
Source§impl HvxVectorPred
impl HvxVectorPred
Sourcefn splat(value: i32) -> HvxVectorPred
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn splat(value: i32) -> HvxVectorPred
stdarch_hexagon #151523)Put the same value in every lane.
Sourceconst fn as_array(&self) -> &[i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
const fn as_array(&self) -> &[i32; 32]
stdarch_hexagon #151523)Returns an array reference containing the entire SIMD vector.
Sourcefn as_mut_array(&mut self) -> &mut [i32; 32]
🔬This is a nightly-only experimental API. (stdarch_hexagon #151523)
fn as_mut_array(&mut self) -> &mut [i32; 32]
stdarch_hexagon #151523)Returns a mutable array reference containing the entire SIMD vector.
Trait Implementations§
Source§impl Clone for HvxVectorPred
impl Clone for HvxVectorPred
Source§fn clone(&self) -> HvxVectorPred
fn clone(&self) -> HvxVectorPred
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)where
Self:,
fn clone_from(&mut self, source: &Self)where
Self:,
Performs copy-assignment from
source. Read moreSource§impl Debug for HvxVectorPred
impl Debug for HvxVectorPred
Source§impl From<HvxVectorPred> for Simd<i32, 32>
impl From<HvxVectorPred> for Simd<i32, 32>
Source§fn from(simd: HvxVectorPred) -> Self
fn from(simd: HvxVectorPred) -> Self
Converts to this type from the input type.
impl Copy for HvxVectorPred
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)]const SIZE: usize = _
#[doc(hidden)]const SIZE: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGN: usize = _
#[doc(hidden)]const ALIGN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const ALIGNMENT: Alignment = _
#[doc(hidden)]const ALIGNMENT: Alignment = _
🔬This is a nightly-only experimental API. (
ptr_alignment_type #102070)Source§#[doc(hidden)]const IS_ZST: bool = _
#[doc(hidden)]const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const LAYOUT: Layout = _
#[doc(hidden)]const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)]const MAX_SLICE_LEN: usize = _
#[doc(hidden)]const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)The largest safe length for a
[Self]. Read more