pub enum OperandKind {
FixedReg(Location),
Imm(Location),
Reg(Location),
RegMem(Location),
}
Expand description
Organize the operand locations by kind.
let k: OperandKind = Location::imm32.kind();
Variants§
Trait Implementations§
Source§impl Clone for OperandKind
impl Clone for OperandKind
Source§fn clone(&self) -> OperandKind
fn clone(&self) -> OperandKind
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 OperandKind
impl Debug for OperandKind
impl Copy for OperandKind
Auto Trait Implementations§
impl Freeze for OperandKind
impl RefUnwindSafe for OperandKind
impl Send for OperandKind
impl Sync for OperandKind
impl Unpin for OperandKind
impl UnwindSafe for OperandKind
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