pub struct BaseMem(pub Operand);Tuple Fields§
§0: OperandImplementations§
Source§impl BaseMem
impl BaseMem
pub fn from_base_disp(base_reg: impl AsRef<BaseReg>, offset: i32) -> Self
pub fn from_base_and_index_disp( u0: OperandSignature, base_id: u32, index_id: u32, offset: i32, ) -> Self
pub fn reset(&mut self)
pub const fn new() -> Self
pub fn is_reg_home(&self) -> bool
pub fn set_reg_home(&mut self)
pub fn clear_reg_home(&mut self)
pub fn has_base(&self) -> bool
pub fn has_index(&self) -> bool
pub fn has_base_or_index(&self) -> bool
pub fn has_base_and_index(&self) -> bool
pub fn has_base_label(&self) -> bool
pub fn has_base_sym(&self) -> bool
pub fn has_base_reg(&self) -> bool
pub fn has_index_reg(&self) -> bool
pub fn base_type(&self) -> RegType
pub fn index_type(&self) -> RegType
pub fn base_id(&self) -> u32
pub fn index_id(&self) -> u32
pub fn set_base_type(&mut self, base_type: RegType)
pub fn set_index_type(&mut self, index_type: RegType)
pub fn set_base_id(&mut self, id: u32)
pub fn set_index_id(&mut self, id: u32)
pub fn set_base(&mut self, base: &BaseReg)
pub fn set_index(&mut self, index: &BaseReg)
pub fn reset_base(&mut self)
pub fn reset_index(&mut self)
pub fn is_offset_64bit(&self) -> bool
pub fn has_offset(&self) -> bool
pub fn offset(&self) -> i64
pub fn offset_lo32(&self) -> i32
pub fn offset_hi32(&self) -> i32
pub fn set_offset(&mut self, offset: i64)
pub fn set_offset_lo32(&mut self, offset: i32)
pub fn add_offset(&mut self, offset: i64)
pub fn add_offset_lo32(&mut self, offset: i32)
pub fn reset_offset(&mut self)
pub fn reset_offset_lo32(&mut self)
Methods from Deref<Target = Operand>§
pub fn reset(&mut self)
pub fn has_signature(&self, other: OperandSignature) -> bool
pub fn signature(&self) -> OperandSignature
pub fn set_signature(&mut self, sig: OperandSignature)
pub fn set_id(&mut self, id: u32)
pub fn op_type(&self) -> OperandType
pub fn is_none(&self) -> bool
pub fn is_reg(&self) -> bool
pub fn is_reg_list(&self) -> bool
pub fn is_mem(&self) -> bool
pub fn is_imm(&self) -> bool
pub fn is_label(&self) -> bool
pub fn is_sym(&self) -> bool
pub fn is_phys_reg(&self) -> bool
pub fn is_virt_reg(&self) -> bool
pub fn id(&self) -> u32
pub fn is_reg_type_of(&self, typ: RegType) -> bool
pub fn is_reg_group_of(&self, group: RegGroup) -> bool
pub fn is_gp(&self) -> bool
pub fn is_gp32(&self) -> bool
pub fn is_gp64(&self) -> bool
pub fn is_vec(&self) -> bool
pub fn is_vec8(&self) -> bool
pub fn is_vec16(&self) -> bool
pub fn is_vec32(&self) -> bool
pub fn is_vec64(&self) -> bool
pub fn is_vec128(&self) -> bool
pub fn is_vec256(&self) -> bool
pub fn is_vec512(&self) -> bool
pub fn is_mask(&self) -> bool
pub fn is_reg_list_of(&self, typ: RegType) -> bool
pub fn is_reg_or_mem(&self) -> bool
pub fn is_reg_or_reg_list_or_mem(&self) -> bool
pub fn x86_rm_size(&self) -> u32
pub fn as_<T>(&self) -> Twhere
T: OperandCast,
Trait Implementations§
Source§impl OperandCast for BaseMem
impl OperandCast for BaseMem
fn as_operand(&self) -> &Operand
fn from_operand(op: &Operand) -> Self
Source§impl Ord for BaseMem
impl Ord for BaseMem
Source§impl PartialOrd for BaseMem
impl PartialOrd for BaseMem
impl Copy for BaseMem
impl Eq for BaseMem
impl StructuralPartialEq for BaseMem
Auto Trait Implementations§
impl Freeze for BaseMem
impl RefUnwindSafe for BaseMem
impl Send for BaseMem
impl Sync for BaseMem
impl Unpin for BaseMem
impl UnwindSafe for BaseMem
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