Struct ASIMDMovModImm
pub struct ASIMDMovModImm { /* private fields */ }
Expand description
Advanced SIMD modified immediate as used by MOVI/MVNI.
Implementations§
§impl ASIMDMovModImm
impl ASIMDMovModImm
pub fn maybe_from_u64(value: u64, size: ScalarSize) -> Option<ASIMDMovModImm>
pub fn maybe_from_u64(value: u64, size: ScalarSize) -> Option<ASIMDMovModImm>
Construct an ASIMDMovModImm from an arbitrary 64-bit constant, if possible.
Note that the bits in value
outside of the range specified by size
are
ignored; for example, in the case of ScalarSize::Size8
all bits above the
lowest 8 are ignored.
pub fn zero(size: ScalarSize) -> ASIMDMovModImm
pub fn zero(size: ScalarSize) -> ASIMDMovModImm
Create a zero immediate of this format.
Trait Implementations§
§impl Clone for ASIMDMovModImm
impl Clone for ASIMDMovModImm
§fn clone(&self) -> ASIMDMovModImm
fn clone(&self) -> ASIMDMovModImm
Returns a copy 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 ASIMDMovModImm
impl Debug for ASIMDMovModImm
§impl PartialEq for ASIMDMovModImm
impl PartialEq for ASIMDMovModImm
impl Copy for ASIMDMovModImm
impl StructuralPartialEq for ASIMDMovModImm
Auto Trait Implementations§
impl Freeze for ASIMDMovModImm
impl RefUnwindSafe for ASIMDMovModImm
impl Send for ASIMDMovModImm
impl Sync for ASIMDMovModImm
impl Unpin for ASIMDMovModImm
impl UnwindSafe for ASIMDMovModImm
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