pub struct ShiftOpShiftImm(/* private fields */);
Available on crate feature
arm64
only.Expand description
A shift operator amount.
Implementations§
Source§impl ShiftOpShiftImm
impl ShiftOpShiftImm
Sourcepub fn maybe_from_shift(shift: u64) -> Option<ShiftOpShiftImm>
pub fn maybe_from_shift(shift: u64) -> Option<ShiftOpShiftImm>
Create a new shiftop shift amount, if possible.
Sourcepub fn mask(self, bits: u8) -> ShiftOpShiftImm
pub fn mask(self, bits: u8) -> ShiftOpShiftImm
Mask down to a given number of bits.
Trait Implementations§
Source§impl Clone for ShiftOpShiftImm
impl Clone for ShiftOpShiftImm
Source§fn clone(&self) -> ShiftOpShiftImm
fn clone(&self) -> ShiftOpShiftImm
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 ShiftOpShiftImm
impl Debug for ShiftOpShiftImm
impl Copy for ShiftOpShiftImm
Auto Trait Implementations§
impl Freeze for ShiftOpShiftImm
impl RefUnwindSafe for ShiftOpShiftImm
impl Send for ShiftOpShiftImm
impl Sync for ShiftOpShiftImm
impl Unpin for ShiftOpShiftImm
impl UnwindSafe for ShiftOpShiftImm
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