pub unsafe trait Register:
Display
+ Debug
+ Eq
+ Copy
+ Send
+ Sync
+ Sized
+ 'static {
type Type: RegType;
const N: usize;
const XLEN: u8 = _;
// Required methods
fn is_zero(&self) -> bool;
fn from_bits(bits: u8) -> Option<Self>;
fn offset(self) -> usize;
}Expand description
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.