Struct XmmMemAlignedImm64
pub struct XmmMemAlignedImm64(/* private fields */);Expand description
A newtype wrapper around RegMemImm.
Implementations§
§impl XmmMemAlignedImm64
impl XmmMemAlignedImm64
pub 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.
pub fn new(rmi: RegMemImm) -> Option<XmmMemAlignedImm64>
pub fn new(rmi: RegMemImm) -> Option<XmmMemAlignedImm64>
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) -> XmmMemAlignedImm64
pub fn unwrap_new(rmi: RegMemImm) -> XmmMemAlignedImm64
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 XmmMemAlignedImm64
impl Clone for XmmMemAlignedImm64
§fn clone(&self) -> XmmMemAlignedImm64
fn clone(&self) -> XmmMemAlignedImm64
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 XmmMemAlignedImm64
impl Debug for XmmMemAlignedImm64
§impl<'a> From<&'a XmmMemAlignedImm64> for &'a RegMemImm
impl<'a> From<&'a XmmMemAlignedImm64> for &'a RegMemImm
§fn from(rmi: &'a XmmMemAlignedImm64) -> &'a RegMemImm
fn from(rmi: &'a XmmMemAlignedImm64) -> &'a RegMemImm
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAlignedImm64
impl From<Xmm> for XmmMemAlignedImm64
§fn from(r: Xmm) -> XmmMemAlignedImm64
fn from(r: Xmm) -> XmmMemAlignedImm64
Converts to this type from the input type.
§impl From<XmmMemAlignedImm64> for RegMemImm
impl From<XmmMemAlignedImm64> for RegMemImm
§fn from(rmi: XmmMemAlignedImm64) -> RegMemImm
fn from(rmi: XmmMemAlignedImm64) -> RegMemImm
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XmmMemAlignedImm64
impl RefUnwindSafe for XmmMemAlignedImm64
impl Send for XmmMemAlignedImm64
impl Sync for XmmMemAlignedImm64
impl Unpin for XmmMemAlignedImm64
impl UnsafeUnpin for XmmMemAlignedImm64
impl UnwindSafe for XmmMemAlignedImm64
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