Struct Xmm
pub struct Xmm(/* private fields */);Expand description
A newtype wrapper around Reg.
Implementations§
§impl Xmm
impl Xmm
pub fn new(reg: Reg) -> Option<Xmm>
pub fn new(reg: Reg) -> Option<Xmm>
Create this newtype from the given register, or return None if the register
is not a valid instance of this newtype.
pub fn unwrap_new(reg: Reg) -> Xmm
pub fn unwrap_new(reg: Reg) -> Xmm
Like Self::new(r).unwrap() but with a better panic message on
failure.
pub fn to_reg(self) -> Reg
pub fn to_reg(self) -> Reg
Get this newtype’s underlying Reg.
Trait Implementations§
§impl AsMut<Reg> for Xmm
If you know what you’re doing, you can explicitly mutably borrow the
underlying Reg. Don’t make it point to the wrong type of register
please.
impl AsMut<Reg> for Xmm
If you know what you’re doing, you can explicitly mutably borrow the
underlying Reg. Don’t make it point to the wrong type of register
please.
§impl From<Xmm> for XmmMemAligned
impl From<Xmm> for XmmMemAligned
§fn from(r: Xmm) -> XmmMemAligned
fn from(r: Xmm) -> XmmMemAligned
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAligned128
impl From<Xmm> for XmmMemAligned128
§fn from(r: Xmm) -> XmmMemAligned128
fn from(r: Xmm) -> XmmMemAligned128
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAligned16
impl From<Xmm> for XmmMemAligned16
§fn from(r: Xmm) -> XmmMemAligned16
fn from(r: Xmm) -> XmmMemAligned16
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAligned32
impl From<Xmm> for XmmMemAligned32
§fn from(r: Xmm) -> XmmMemAligned32
fn from(r: Xmm) -> XmmMemAligned32
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAligned64
impl From<Xmm> for XmmMemAligned64
§fn from(r: Xmm) -> XmmMemAligned64
fn from(r: Xmm) -> XmmMemAligned64
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAligned8
impl From<Xmm> for XmmMemAligned8
§fn from(r: Xmm) -> XmmMemAligned8
fn from(r: Xmm) -> XmmMemAligned8
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAlignedImm
impl From<Xmm> for XmmMemAlignedImm
§fn from(r: Xmm) -> XmmMemAlignedImm
fn from(r: Xmm) -> XmmMemAlignedImm
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAlignedImm128
impl From<Xmm> for XmmMemAlignedImm128
§fn from(r: Xmm) -> XmmMemAlignedImm128
fn from(r: Xmm) -> XmmMemAlignedImm128
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAlignedImm16
impl From<Xmm> for XmmMemAlignedImm16
§fn from(r: Xmm) -> XmmMemAlignedImm16
fn from(r: Xmm) -> XmmMemAlignedImm16
Converts to this type from the input type.
§impl From<Xmm> for XmmMemAlignedImm32
impl From<Xmm> for XmmMemAlignedImm32
§fn from(r: Xmm) -> XmmMemAlignedImm32
fn from(r: Xmm) -> XmmMemAlignedImm32
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<Xmm> for XmmMemAlignedImm8
impl From<Xmm> for XmmMemAlignedImm8
§fn from(r: Xmm) -> XmmMemAlignedImm8
fn from(r: Xmm) -> XmmMemAlignedImm8
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<Xmm> for XmmMemImm16
impl From<Xmm> for XmmMemImm16
§fn from(r: Xmm) -> XmmMemImm16
fn from(r: Xmm) -> XmmMemImm16
Converts to this type from the input type.
§impl From<Xmm> for XmmMemImm32
impl From<Xmm> for XmmMemImm32
§fn from(r: Xmm) -> XmmMemImm32
fn from(r: Xmm) -> XmmMemImm32
Converts to this type from the input type.
§impl From<Xmm> for XmmMemImm64
impl From<Xmm> for XmmMemImm64
§fn from(r: Xmm) -> XmmMemImm64
fn from(r: Xmm) -> XmmMemImm64
Converts to this type from the input type.
§impl From<Xmm> for XmmMemImm8
impl From<Xmm> for XmmMemImm8
§fn from(r: Xmm) -> XmmMemImm8
fn from(r: Xmm) -> XmmMemImm8
Converts to this type from the input type.
§impl Ord for Xmm
impl Ord for Xmm
§impl PartialOrd for Xmm
impl PartialOrd for Xmm
impl Copy for Xmm
impl Eq for Xmm
impl StructuralPartialEq for Xmm
Auto Trait Implementations§
impl Freeze for Xmm
impl RefUnwindSafe for Xmm
impl Send for Xmm
impl Sync for Xmm
impl Unpin for Xmm
impl UnsafeUnpin for Xmm
impl UnwindSafe for Xmm
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.