pub trait Register:
Debug
+ Sized
+ Clone
+ Copy
+ Hash
+ Eq {
type InfoType: RegisterInfo<RegType = Self>;
// Required methods
fn name(&self) -> Cow<'_, str>;
fn info(&self) -> Self::InfoType;
fn id(&self) -> RegisterId;
}Required Associated Types§
type InfoType: RegisterInfo<RegType = Self>
Required Methods§
fn name(&self) -> Cow<'_, str>
fn info(&self) -> Self::InfoType
Sourcefn id(&self) -> RegisterId
fn id(&self) -> RegisterId
Unique identifier for this Register.
MUST be in the range [0, 0x7fff_ffff]
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.