pub struct ClassMoves {
pub mov: &'static str,
pub load: &'static str,
pub store: &'static str,
}Expand description
How a register of one class is moved between two registers and between a register and the frame.
Three names rather than one, because a machine that moves a general purpose register with
mov moves a vector register with something else, and because a load and a store are
different instructions on every machine here even when a dump writes them with the same
mnemonic.
Fields§
§mov: &'static strWrites the first register with what is in the second.
load: &'static strWrites the register with what is in the frame.
store: &'static strWrites the frame with what is in the register.
Trait Implementations§
Source§impl Clone for ClassMoves
impl Clone for ClassMoves
Source§fn clone(&self) -> ClassMoves
fn clone(&self) -> ClassMoves
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClassMoves
Source§impl Debug for ClassMoves
impl Debug for ClassMoves
impl Eq for ClassMoves
Source§impl PartialEq for ClassMoves
impl PartialEq for ClassMoves
impl StructuralPartialEq for ClassMoves
Auto Trait Implementations§
impl Freeze for ClassMoves
impl RefUnwindSafe for ClassMoves
impl Send for ClassMoves
impl Sync for ClassMoves
impl Unpin for ClassMoves
impl UnsafeUnpin for ClassMoves
impl UnwindSafe for ClassMoves
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