pub struct XmmMemImm64(/* private fields */);Available on crate feature
x86 only.Expand description
A newtype wrapper around RegMemImm.
Implementations§
Source§impl XmmMemImm64
impl XmmMemImm64
Sourcepub const SIZE_BITS: u32 = 64
pub const SIZE_BITS: u32 = 64
The bit width of the value this operand holds. This is
a type-level distinction only; the underlying
RegMemImm does not record the width.
Sourcepub fn new(rmi: RegMemImm) -> Option<Self>
pub fn new(rmi: RegMemImm) -> Option<Self>
Construct this newtype from the given RegMemImm, or return
None if the RegMemImm is not a valid instance of this
newtype.
Sourcepub fn unwrap_new(rmi: RegMemImm) -> Self
pub fn unwrap_new(rmi: RegMemImm) -> Self
Like Self::new(rmi).unwrap() but with better panic
messages in case of failure.
Sourcepub fn to_reg_mem_imm(self) -> RegMemImm
pub fn to_reg_mem_imm(self) -> RegMemImm
Convert this newtype into its underlying RegMemImm.
Trait Implementations§
Source§impl Clone for XmmMemImm64
impl Clone for XmmMemImm64
Source§fn clone(&self) -> XmmMemImm64
fn clone(&self) -> XmmMemImm64
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 XmmMemImm64
impl Debug for XmmMemImm64
Source§impl<'a> From<&'a XmmMemImm64> for &'a RegMemImm
impl<'a> From<&'a XmmMemImm64> for &'a RegMemImm
Source§fn from(rmi: &'a XmmMemImm64) -> &'a RegMemImm
fn from(rmi: &'a XmmMemImm64) -> &'a RegMemImm
Converts to this type from the input type.
Source§impl From<Xmm> for XmmMemImm64
impl From<Xmm> for XmmMemImm64
Source§impl From<XmmMemImm64> for RegMemImm
impl From<XmmMemImm64> for RegMemImm
Source§fn from(rmi: XmmMemImm64) -> RegMemImm
fn from(rmi: XmmMemImm64) -> RegMemImm
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XmmMemImm64
impl RefUnwindSafe for XmmMemImm64
impl Send for XmmMemImm64
impl Sync for XmmMemImm64
impl Unpin for XmmMemImm64
impl UnsafeUnpin for XmmMemImm64
impl UnwindSafe for XmmMemImm64
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