pub struct SImm7Scaled {
pub value: i16,
pub scale_ty: Type,
}
Available on crate feature
arm64
only.Expand description
A signed, scaled 7-bit offset.
Fields§
§value: i16
The value.
scale_ty: Type
multiplied by the size of this type
Implementations§
Source§impl SImm7Scaled
impl SImm7Scaled
Sourcepub fn maybe_from_i64(value: i64, scale_ty: Type) -> Option<SImm7Scaled>
pub fn maybe_from_i64(value: i64, scale_ty: Type) -> Option<SImm7Scaled>
Create a SImm7Scaled from a raw offset and the known scale type, if possible.
Trait Implementations§
Source§impl Clone for SImm7Scaled
impl Clone for SImm7Scaled
Source§fn clone(&self) -> SImm7Scaled
fn clone(&self) -> SImm7Scaled
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 SImm7Scaled
impl Debug for SImm7Scaled
impl Copy for SImm7Scaled
Auto Trait Implementations§
impl Freeze for SImm7Scaled
impl RefUnwindSafe for SImm7Scaled
impl Send for SImm7Scaled
impl Sync for SImm7Scaled
impl Unpin for SImm7Scaled
impl UnwindSafe for SImm7Scaled
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