pub struct UImm12Scaled { /* private fields */ }
Available on crate feature
arm64
only.Expand description
An unsigned, scaled 12-bit offset.
Implementations§
Source§impl UImm12Scaled
impl UImm12Scaled
Sourcepub fn maybe_from_i64(value: i64, scale_ty: Type) -> Option<UImm12Scaled>
pub fn maybe_from_i64(value: i64, scale_ty: Type) -> Option<UImm12Scaled>
Create a UImm12Scaled from a raw offset and the known scale type, if possible.
Sourcepub fn zero(scale_ty: Type) -> UImm12Scaled
pub fn zero(scale_ty: Type) -> UImm12Scaled
Create a zero immediate of this format.
Trait Implementations§
Source§impl Clone for UImm12Scaled
impl Clone for UImm12Scaled
Source§fn clone(&self) -> UImm12Scaled
fn clone(&self) -> UImm12Scaled
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 UImm12Scaled
impl Debug for UImm12Scaled
impl Copy for UImm12Scaled
Auto Trait Implementations§
impl Freeze for UImm12Scaled
impl RefUnwindSafe for UImm12Scaled
impl Send for UImm12Scaled
impl Sync for UImm12Scaled
impl Unpin for UImm12Scaled
impl UnwindSafe for UImm12Scaled
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