Enum rsim::processor::isa_mods::vector::Sew[][src]

pub enum Sew {
    e8,
    e16,
    e32,
    e64,
    e128,
}

Selected-Element-Width enum

The set of possible element-widths that a program can request for e.g. arithmetic. For example, a program could ask the processor to treat vector registers as vectors of 8-bit elements.

Depending on ELEN, the maximum element length, some of these values may not be usable in practice.

Variants

e8
e16
e32
e64
e128

On CHERI, used to load/store capabilities.

Implementations

impl Sew[src]

pub fn width_in_bytes(&self) -> u64[src]

Trait Implementations

impl Clone for Sew[src]

impl Debug for Sew[src]

impl PartialEq<Sew> for Sew[src]

impl Copy for Sew[src]

impl Eq for Sew[src]

impl StructuralEq for Sew[src]

impl StructuralPartialEq for Sew[src]

Auto Trait Implementations

impl RefUnwindSafe for Sew

impl Send for Sew

impl Sync for Sew

impl Unpin for Sew

impl UnwindSafe for Sew

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.