pub enum ShiftOp {
Shl,
ShrSar,
Shr,
Rotl,
Rotr,
}Expand description
Names a shift or rotate operation.
Variants§
Shl
Shift left.
ShrSar
Shift right, sign-extending.
Shr
Shift right, zero-filling.
Rotl
Rotate left.
Rotr
Rotate right.
Trait Implementations§
impl Copy for ShiftOp
impl Eq for ShiftOp
impl StructuralPartialEq for ShiftOp
Auto Trait Implementations§
impl Forget for ShiftOp
impl Freeze for ShiftOp
impl Move for ShiftOp
impl RefUnwindSafe for ShiftOp
impl Send for ShiftOp
impl Sync for ShiftOp
impl Unpin for ShiftOp
impl UnsafeUnpin 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