Enum svpattern

#[repr(i32)]
#[non_exhaustive]
pub enum svpattern

Patterns returned by a PTRUE

Variants

SV_POW2 = 0

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

SV_VL1 = 1

Activate the first element

SV_VL2 = 2

Activate the first two elements

SV_VL3 = 3

Activate the first three elements

SV_VL4 = 4

Activate the first four elements

SV_VL5 = 5

Activate the first five elements

SV_VL6 = 6

Activate the first six elements

SV_VL7 = 7

Activate the first seven elements

SV_VL8 = 8

Activate the first eight elements

SV_VL16 = 9

Activate the first sixteen elements

SV_VL32 = 10

Activate the first thirty-two elements

SV_VL64 = 11

Activate the first sixty-four elements

SV_VL128 = 12

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

SV_VL256 = 13

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

SV_MUL4 = 29

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

SV_MUL3 = 30

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

SV_ALL = 31

Activate all elements

Trait Implementations

impl Clone for svpattern

fn clone(&self) -> svpattern

impl ConstParamTy_ for svpattern

impl Copy for svpattern

impl Debug for svpattern

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

impl Eq for svpattern

fn assert_fields_are_eq(&self)

impl PartialEq for svpattern

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

impl StructuralPartialEq for svpattern

impl TrivialClone for svpattern

Auto Trait Implementations

impl Freeze for svpattern

impl RefUnwindSafe for svpattern

impl Send for svpattern

impl Sync for svpattern

impl Unpin for svpattern

impl UnsafeUnpin for svpattern

impl UnwindSafe for svpattern

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for svpattern

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

impl<T> SizedTypeProperties for svpattern

impl<T, U> Into<U> for svpattern 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 svpattern 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 svpattern where U: TryFrom<T>,

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