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