pub enum CleverOperand {
Register {
size: u16,
reg: CleverRegister,
},
Indirect {
size: u16,
base: CleverRegister,
scale: u8,
index: CleverIndex,
},
VecPair {
size: u16,
lo: CleverRegister,
},
Immediate(CleverImmediate),
}Variants§
Implementations§
Source§impl CleverOperand
impl CleverOperand
pub fn size(&self) -> u16
pub fn size_ss(&self) -> Option<u16>
pub fn as_control_structure(&self) -> u16
pub fn immediate_value(&self) -> Option<&CleverImmediate>
Trait Implementations§
Source§impl Clone for CleverOperand
impl Clone for CleverOperand
Source§fn clone(&self) -> CleverOperand
fn clone(&self) -> CleverOperand
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 CleverOperand
impl Debug for CleverOperand
Source§impl Display for CleverOperand
impl Display for CleverOperand
Source§impl Hash for CleverOperand
impl Hash for CleverOperand
Source§impl PartialEq for CleverOperand
impl PartialEq for CleverOperand
impl Eq for CleverOperand
impl StructuralPartialEq for CleverOperand
Auto Trait Implementations§
impl Freeze for CleverOperand
impl RefUnwindSafe for CleverOperand
impl Send for CleverOperand
impl Sync for CleverOperand
impl Unpin for CleverOperand
impl UnwindSafe for CleverOperand
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