pub struct RiscV;
Expand description
RISC-V architecture specific definitions.
Implementations
sourceimpl RiscV
impl RiscV
pub const X0: Register
pub const X1: Register
pub const X2: Register
pub const X3: Register
pub const X4: Register
pub const X5: Register
pub const X6: Register
pub const X7: Register
pub const X8: Register
pub const X9: Register
pub const X10: Register
pub const X11: Register
pub const X12: Register
pub const X13: Register
pub const X14: Register
pub const X15: Register
pub const X16: Register
pub const X17: Register
pub const X18: Register
pub const X19: Register
pub const X20: Register
pub const X21: Register
pub const X22: Register
pub const X23: Register
pub const X24: Register
pub const X25: Register
pub const X26: Register
pub const X27: Register
pub const X28: Register
pub const X29: Register
pub const X30: Register
pub const X31: Register
pub const F0: Register
pub const F1: Register
pub const F2: Register
pub const F3: Register
pub const F4: Register
pub const F5: Register
pub const F6: Register
pub const F7: Register
pub const F8: Register
pub const F9: Register
pub const F10: Register
pub const F11: Register
pub const F12: Register
pub const F13: Register
pub const F14: Register
pub const F15: Register
pub const F16: Register
pub const F17: Register
pub const F18: Register
pub const F19: Register
pub const F20: Register
pub const F21: Register
pub const F22: Register
pub const F23: Register
pub const F24: Register
pub const F25: Register
pub const F26: Register
pub const F27: Register
pub const F28: Register
pub const F29: Register
pub const F30: Register
pub const F31: Register
pub const ZERO: Register
pub const RA: Register
pub const SP: Register
pub const GP: Register
pub const TP: Register
pub const T0: Register
pub const T1: Register
pub const T2: Register
pub const S0: Register
pub const S1: Register
pub const A0: Register
pub const A1: Register
pub const A2: Register
pub const A3: Register
pub const A4: Register
pub const A5: Register
pub const A6: Register
pub const A7: Register
pub const S2: Register
pub const S3: Register
pub const S4: Register
pub const S5: Register
pub const S6: Register
pub const S7: Register
pub const S8: Register
pub const S9: Register
pub const S10: Register
pub const S11: Register
pub const T3: Register
pub const T4: Register
pub const T5: Register
pub const T6: Register
pub const FT0: Register
pub const FT1: Register
pub const FT2: Register
pub const FT3: Register
pub const FT4: Register
pub const FT5: Register
pub const FT6: Register
pub const FT7: Register
pub const FS0: Register
pub const FS1: Register
pub const FA0: Register
pub const FA1: Register
pub const FA2: Register
pub const FA3: Register
pub const FA4: Register
pub const FA5: Register
pub const FA6: Register
pub const FA7: Register
pub const FS2: Register
pub const FS3: Register
pub const FS4: Register
pub const FS5: Register
pub const FS6: Register
pub const FS7: Register
pub const FS8: Register
pub const FS9: Register
pub const FS10: Register
pub const FS11: Register
pub const FT8: Register
pub const FT9: Register
pub const FT10: Register
pub const FT11: Register
sourceimpl RiscV
impl RiscV
sourcepub fn register_name(register: Register) -> Option<&'static str>
pub fn register_name(register: Register) -> Option<&'static str>
The name of a register, or None
if the register number is unknown.
Only returns the primary name for registers that alias with others.
sourcepub fn name_to_register(value: &str) -> Option<Register>
pub fn name_to_register(value: &str) -> Option<Register>
Converts a register name into a register number.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RiscV
impl Send for RiscV
impl Sync for RiscV
impl Unpin for RiscV
impl UnwindSafe for RiscV
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more