Struct rv32_asm::instruction::UInstruction
source · pub struct UInstruction {
pub op: UInstructionOp,
pub imm: Immediate,
pub rd: Register,
}Fields§
§op: UInstructionOp§imm: Immediate§rd: RegisterTrait Implementations§
source§impl Clone for UInstruction
impl Clone for UInstruction
source§fn clone(&self) -> UInstruction
fn clone(&self) -> UInstruction
Returns a copy 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
source§fn eq(&self, other: &UInstruction) -> bool
fn eq(&self, other: &UInstruction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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