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