Skip to main content

VectorRegistersBase

Trait VectorRegistersBase 

Source
pub trait VectorRegistersBase {
    const ELEN: u32;
    const VLEN: u32;
    const VLENB: u32 = _;
}
Expand description

Base for VectorRegisters.

This is primarily a workaround for type system cycles.

Required Associated Constants§

Source

const ELEN: u32

Maximum vector element width ELEN in bits

Source

const VLEN: u32

Vector register width VLEN in bits

Provided Associated Constants§

Source

const VLENB: u32 = _

Vector register width in bytes (vlenb = VLEN / 8)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§