Struct rsim::processor::isa_mods::vector::VectorElem[][src]

pub struct VectorElem {
    pub base_reg: u8,
    pub eew: Sew,
    pub elem_within_group: u32,
}

A struct describing an element of a vector register group

Fields

base_reg: u8

The first register of the group. Should be a multiple of emul.num_registers_consumed()

eew: Sew

The element width,

elem_within_group: u32

The index of the element within the group

Implementations

impl VectorElem[src]

pub fn check_with_lmul(
    base_reg: u8,
    eew: Sew,
    emul: Lmul,
    elem_within_group: u32
) -> VectorElem
[src]

pub fn check_with_num_regs(
    base_reg: u8,
    eew: Sew,
    num_regs: u8,
    elem_within_group: u32
) -> VectorElem
[src]

Trait Implementations

impl Debug for VectorElem[src]

Auto Trait Implementations

impl RefUnwindSafe for VectorElem

impl Send for VectorElem

impl Sync for VectorElem

impl Unpin for VectorElem

impl UnwindSafe for VectorElem

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, 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.