Struct rv32_asm::instruction::JInstruction
source · pub struct JInstruction {
pub op: JInstructionOp,
pub imm: RelAddress,
pub rd: Register,
}Fields§
§op: JInstructionOp§imm: RelAddress§rd: RegisterTrait Implementations§
source§impl Clone for JInstruction
impl Clone for JInstruction
source§fn clone(&self) -> JInstruction
fn clone(&self) -> JInstruction
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 JInstruction
impl Debug for JInstruction
source§impl GenerateCode for JInstruction
impl GenerateCode for JInstruction
fn generate_code(&self) -> u32
fn generate_asm(&self) -> String
source§impl PartialEq for JInstruction
impl PartialEq for JInstruction
source§fn eq(&self, other: &JInstruction) -> bool
fn eq(&self, other: &JInstruction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JInstruction
Auto Trait Implementations§
impl Freeze for JInstruction
impl RefUnwindSafe for JInstruction
impl Send for JInstruction
impl Sync for JInstruction
impl Unpin for JInstruction
impl UnwindSafe for JInstruction
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