pub enum SourceOperand {
Immediate = 0,
Register = 8,
}Expand description
The source operand portion of the instruction’s opcode.
Variants§
Trait Implementations§
Source§impl Clone for SourceOperand
impl Clone for SourceOperand
Source§fn clone(&self) -> SourceOperand
fn clone(&self) -> SourceOperand
Returns a duplicate 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 SourceOperand
impl Debug for SourceOperand
Source§impl Ord for SourceOperand
impl Ord for SourceOperand
Source§fn cmp(&self, other: &SourceOperand) -> Ordering
fn cmp(&self, other: &SourceOperand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceOperand
impl PartialEq for SourceOperand
Source§impl PartialOrd for SourceOperand
impl PartialOrd for SourceOperand
impl Copy for SourceOperand
impl Eq for SourceOperand
impl StructuralPartialEq for SourceOperand
Auto Trait Implementations§
impl Freeze for SourceOperand
impl RefUnwindSafe for SourceOperand
impl Send for SourceOperand
impl Sync for SourceOperand
impl Unpin for SourceOperand
impl UnwindSafe for SourceOperand
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