Skip to main content

svpattern

Enum svpattern 

Source
#[non_exhaustive]
#[repr(i32)]
pub enum svpattern {
Show 17 variants SV_POW2 = 0, SV_VL1 = 1, SV_VL2 = 2, SV_VL3 = 3, SV_VL4 = 4, SV_VL5 = 5, SV_VL6 = 6, SV_VL7 = 7, SV_VL8 = 8, SV_VL16 = 9, SV_VL32 = 10, SV_VL64 = 11, SV_VL128 = 12, SV_VL256 = 13, SV_MUL4 = 29, SV_MUL3 = 30, SV_ALL = 31,
}
🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)
Available on (AArch64 or ARM64EC) and (AArch64) only.
Expand description

Patterns returned by a PTRUE

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

SV_POW2 = 0

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the largest power-of-two number of elements that is less than the vector length

§

SV_VL1 = 1

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first element

§

SV_VL2 = 2

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first two elements

§

SV_VL3 = 3

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first three elements

§

SV_VL4 = 4

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first four elements

§

SV_VL5 = 5

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first five elements

§

SV_VL6 = 6

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first six elements

§

SV_VL7 = 7

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first seven elements

§

SV_VL8 = 8

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first eight elements

§

SV_VL16 = 9

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first sixteen elements

§

SV_VL32 = 10

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first thirty-two elements

§

SV_VL64 = 11

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first sixty-four elements

§

SV_VL128 = 12

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first one-hundred-and-twenty-eight elements

§

SV_VL256 = 13

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the first two-hundred-and-fifty-six elements

§

SV_MUL4 = 29

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the largest multiple-of-four number of elements that is less than the vector length

§

SV_MUL3 = 30

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate the largest multiple-of-three number of elements that is less than the vector length

§

SV_ALL = 31

🔬This is a nightly-only experimental API. (stdarch_aarch64_sve #145052)

Activate all elements

Trait Implementations§

Source§

impl Clone for svpattern

Source§

fn clone(&self) -> svpattern

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)
where Self:,

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs copy-assignment from source. Read more
Source§

impl Debug for svpattern

Source§

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

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Formats the value using the given formatter. Read more
Source§

impl PartialEq for svpattern

Source§

fn eq(&self, other: &svpattern) -> bool

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ConstParamTy_ for svpattern

Source§

impl Copy for svpattern

Source§

impl Eq for svpattern

Source§

impl StructuralPartialEq for svpattern

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit #126799)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Performs the conversion.