pub struct ClassInfo {
pub name: &'static str,
pub bits: u32,
pub regs: &'static [&'static str],
}Expand description
One class of registers, and the registers in it.
Fields§
§name: &'static strWhat the class is called in a dump, such as gpr.
bits: u32How wide one of its registers is, in bits.
regs: &'static [&'static str]The registers, in the order their numbers run, without the sigil a dump writes.
Trait Implementations§
impl Copy for ClassInfo
impl Eq for ClassInfo
impl StructuralPartialEq for ClassInfo
Auto Trait Implementations§
impl Freeze for ClassInfo
impl RefUnwindSafe for ClassInfo
impl Send for ClassInfo
impl Sync for ClassInfo
impl Unpin for ClassInfo
impl UnsafeUnpin for ClassInfo
impl UnwindSafe for ClassInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more