pub struct ASIMDMovModImm { /* private fields */ }
Available on crate feature
arm64
only.Expand description
Advanced SIMD modified immediate as used by MOVI/MVNI.
Implementations§
Source§impl ASIMDMovModImm
impl ASIMDMovModImm
Sourcepub 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.
Sourcepub fn zero(size: ScalarSize) -> Self
pub fn zero(size: ScalarSize) -> Self
Create a zero immediate of this format.
Trait Implementations§
Source§impl Clone for ASIMDMovModImm
impl Clone for ASIMDMovModImm
Source§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 moreSource§impl Debug for ASIMDMovModImm
impl Debug for ASIMDMovModImm
Source§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