pub enum AssignOpKind {
Show 13 variants
Assign,
Add,
Sub,
Mul,
Div,
Mod,
Exp,
And,
Or,
BitAnd,
BitOr,
BitRight,
BitLeft,
}Expand description
The kind of assignment operator.
Variants§
Trait Implementations§
Source§impl Clone for AssignOpKind
impl Clone for AssignOpKind
Source§fn clone(&self) -> AssignOpKind
fn clone(&self) -> AssignOpKind
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 AssignOpKind
impl Debug for AssignOpKind
Source§impl From<AssignOpKind> for BinOpKind
impl From<AssignOpKind> for BinOpKind
Source§fn from(value: AssignOpKind) -> Self
fn from(value: AssignOpKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AssignOpKind
impl PartialEq for AssignOpKind
impl Copy for AssignOpKind
impl Eq for AssignOpKind
impl StructuralPartialEq for AssignOpKind
Auto Trait Implementations§
impl Freeze for AssignOpKind
impl RefUnwindSafe for AssignOpKind
impl Send for AssignOpKind
impl Sync for AssignOpKind
impl Unpin for AssignOpKind
impl UnwindSafe for AssignOpKind
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