pub enum ArmShift {
Invalid,
Asr(u32),
Lsl(u32),
Lsr(u32),
Ror(u32),
Rrx(u32),
AsrReg(RegId),
LslReg(RegId),
LsrReg(RegId),
RorReg(RegId),
RrxReg(RegId),
}Expand description
ARM shift amount
Variants§
Invalid
Asr(u32)
Arithmetic shift right (immediate)
Lsl(u32)
Logical shift left (immediate)
Lsr(u32)
Logical shift right (immediate)
Ror(u32)
Rotate right (immediate)
Rrx(u32)
Rotate right with extend (immediate)
AsrReg(RegId)
Arithmetic shift right (register)
LslReg(RegId)
Logical shift left (register)
LsrReg(RegId)
Logical shift right (register)
RorReg(RegId)
Rotate right (register)
RrxReg(RegId)
Rotate right with extend (register)
Trait Implementations§
impl Copy for ArmShift
impl Eq for ArmShift
impl StructuralPartialEq for ArmShift
Auto Trait Implementations§
impl Freeze for ArmShift
impl RefUnwindSafe for ArmShift
impl Send for ArmShift
impl Sync for ArmShift
impl Unpin for ArmShift
impl UnwindSafe for ArmShift
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