Struct XmmMemImm
pub struct XmmMemImm(/* private fields */);
Expand description
A newtype wrapper around RegMemImm
.
Implementations§
§impl XmmMemImm
impl XmmMemImm
pub fn new(rmi: RegMemImm) -> Option<XmmMemImm>
pub fn new(rmi: RegMemImm) -> Option<XmmMemImm>
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) -> XmmMemImm
pub fn unwrap_new(rmi: RegMemImm) -> XmmMemImm
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§
Auto Trait Implementations§
impl Freeze for XmmMemImm
impl RefUnwindSafe for XmmMemImm
impl Send for XmmMemImm
impl Sync for XmmMemImm
impl Unpin for XmmMemImm
impl UnwindSafe for XmmMemImm
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)