pub trait Register:
Display
+ Debug
+ Eq
+ RegisterInternal<Self::Type>
+ Copy
+ Sized {
type Type: Default + From<u8> + Into<u64> + Eq + Add + AddAssign + Sub + SubAssign + Display + Debug + Copy + Sized;
const N: usize;
// Required method
fn from_bits(bits: u8) -> Option<Self>;
}Expand description
Generic register
Required 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.