pub trait Register:
Display
+ Debug
+ Eq
+ Copy
+ Send
+ Sync
+ Sized
+ 'static {
type Type: RegType;
const ZERO: Self;
const SP: Self;
const RA: Self;
const A0: Self;
const A1: Self;
const XLEN: u8 = <Self::Type>::BITS;
// Required method
fn from_bits(bits: u8) -> Option<Self>;
}Expand description
GPR (General Purpose Register)
Required Associated Constants§
Provided Associated Constants§
Required Associated Types§
Required Methods§
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.