pub struct ShiftOperand {
pub kind: ShiftKind,
pub amount: u8,
}Expand description
Shift modifier operand.
Fields§
§kind: ShiftKindShift kind.
amount: u8Shift amount.
Trait Implementations§
Source§impl Clone for ShiftOperand
impl Clone for ShiftOperand
Source§fn clone(&self) -> ShiftOperand
fn clone(&self) -> ShiftOperand
Returns a duplicate 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 ShiftOperand
impl Debug for ShiftOperand
Source§impl PartialEq for ShiftOperand
impl PartialEq for ShiftOperand
impl Copy for ShiftOperand
impl Eq for ShiftOperand
impl StructuralPartialEq for ShiftOperand
Auto Trait Implementations§
impl Freeze for ShiftOperand
impl RefUnwindSafe for ShiftOperand
impl Send for ShiftOperand
impl Sync for ShiftOperand
impl Unpin for ShiftOperand
impl UnsafeUnpin for ShiftOperand
impl UnwindSafe for ShiftOperand
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