pub enum Argument {
Imm(isize),
Reg(Register),
Label(String),
}
Expand description
A high-level representation for an argument given to an instruction. The Argument::Imm variant may represent any of the following concrete arguments: uimm4, imm4, uimm8, imm8. An op2 or uop2 is considered to be either a register or a imm4, uimm4 respectively.
Variants§
Implementations§
Trait Implementations§
impl Eq for Argument
impl StructuralPartialEq for Argument
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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