Struct UImm12Scaled
pub struct UImm12Scaled { /* private fields */ }
Expand description
An unsigned, scaled 12-bit offset.
Implementations§
§impl UImm12Scaled
impl UImm12Scaled
pub 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.
pub fn zero(scale_ty: Type) -> UImm12Scaled
pub fn zero(scale_ty: Type) -> UImm12Scaled
Create a zero immediate of this format.
Trait Implementations§
§impl Clone for UImm12Scaled
impl Clone for UImm12Scaled
§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 more§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
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
)