pub trait Reg:
    Copy
    + Clone
    + Eq
    + PartialEq
    + Debug
    + Hash
    + Ord {
    // Required methods
    fn into_index(self) -> usize;
    fn from_index(i: usize) -> Result<Self, ()>;
    fn iterator() -> Iter<'static, Self>;
    fn to_dwarf(self) -> Register;
}Required Methods§
fn into_index(self) -> usize
fn from_index(i: usize) -> Result<Self, ()>
fn iterator() -> Iter<'static, Self>
fn to_dwarf(self) -> Register
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.