Enum Imm8Reg
pub enum Imm8Reg {
Imm8 {
imm: u8,
},
Reg {
reg: Reg,
},
}
Expand description
An operand which is either an 8-bit integer immediate or a register.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Imm8Reg
impl RefUnwindSafe for Imm8Reg
impl Send for Imm8Reg
impl Sync for Imm8Reg
impl Unpin for Imm8Reg
impl UnwindSafe for Imm8Reg
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