Enum brush_parser::ast::UnaryAssignmentOperator  
source · pub enum UnaryAssignmentOperator {
    PrefixIncrement,
    PrefixDecrement,
    PostfixIncrement,
    PostfixDecrement,
}Expand description
A unary arithmetic assignment operator.
Variants§
PrefixIncrement
Prefix increment (e.g., ++x).
PrefixDecrement
Prefix increment (e.g., --x).
PostfixIncrement
Postfix increment (e.g., x++).
PostfixDecrement
Postfix decrement (e.g., x--).
Trait Implementations§
source§impl Clone for UnaryAssignmentOperator
 
impl Clone for UnaryAssignmentOperator
source§fn clone(&self) -> UnaryAssignmentOperator
 
fn clone(&self) -> UnaryAssignmentOperator
Returns a copy 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 UnaryAssignmentOperator
 
impl Debug for UnaryAssignmentOperator
source§impl Display for UnaryAssignmentOperator
 
impl Display for UnaryAssignmentOperator
impl Copy for UnaryAssignmentOperator
Auto Trait Implementations§
impl Freeze for UnaryAssignmentOperator
impl RefUnwindSafe for UnaryAssignmentOperator
impl Send for UnaryAssignmentOperator
impl Sync for UnaryAssignmentOperator
impl Unpin for UnaryAssignmentOperator
impl UnwindSafe for UnaryAssignmentOperator
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