#[repr(u8)]pub enum ShiftOp {
Lsl = 0,
Lsr = 1,
Asr = 2,
Ror = 3,
}Expand description
Shift operation
Variants§
Lsl = 0
Logical shift left
Lsr = 1
Logical shift right
Asr = 2
Arithmetic shift right
Ror = 3
Rotate right
Trait Implementations§
Source§impl FormatValue for ShiftOp
impl FormatValue for ShiftOp
Source§impl Ord for ShiftOp
impl Ord for ShiftOp
Source§impl PartialOrd for ShiftOp
impl PartialOrd for ShiftOp
impl Copy for ShiftOp
impl Eq for ShiftOp
impl StructuralPartialEq for ShiftOp
Auto Trait Implementations§
impl Freeze for ShiftOp
impl RefUnwindSafe for ShiftOp
impl Send for ShiftOp
impl Sync for ShiftOp
impl Unpin for ShiftOp
impl UnwindSafe for ShiftOp
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