pub trait Register:
Clone
+ TryFrom<u32, Error = RegisterParseError>
+ Into<u32>
+ Sized
+ Debug {
const ADDRESS: u8;
const NAME: &'static str;
}
Expand description
A trait to be implemented on register types for typed device access.
Required Associated Constants§
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.