pub struct UInstruction {
pub op: UInstructionOp,
pub imm: Immediate,
pub rd: Register,
}
Fields§
§op: UInstructionOp
§imm: Immediate
§rd: Register
Trait Implementations§
Source§impl Clone for UInstruction
impl Clone for UInstruction
Source§fn clone(&self) -> UInstruction
fn clone(&self) -> UInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UInstruction
impl Debug for UInstruction
Source§impl GenerateCode for UInstruction
impl GenerateCode for UInstruction
fn generate_code(&self) -> u32
fn generate_asm(&self) -> String
Source§impl PartialEq for UInstruction
impl PartialEq for UInstruction
impl StructuralPartialEq for UInstruction
Auto Trait Implementations§
impl Freeze for UInstruction
impl RefUnwindSafe for UInstruction
impl Send for UInstruction
impl Sync for UInstruction
impl Unpin for UInstruction
impl UnwindSafe for UInstruction
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