pub enum UnaryPostfixOp {
PostIncrement,
PostDecrement,
}Variants§
PostIncrement
$x++ — post-increment; returns the current value then increments.
PostDecrement
$x-- — post-decrement; returns the current value then decrements.
Trait Implementations§
Source§impl Clone for UnaryPostfixOp
impl Clone for UnaryPostfixOp
impl Copy for UnaryPostfixOp
Source§impl Debug for UnaryPostfixOp
impl Debug for UnaryPostfixOp
impl Eq for UnaryPostfixOp
Source§impl PartialEq for UnaryPostfixOp
impl PartialEq for UnaryPostfixOp
Source§impl Serialize for UnaryPostfixOp
impl Serialize for UnaryPostfixOp
impl StructuralPartialEq for UnaryPostfixOp
Auto Trait Implementations§
impl Freeze for UnaryPostfixOp
impl RefUnwindSafe for UnaryPostfixOp
impl Send for UnaryPostfixOp
impl Sync for UnaryPostfixOp
impl Unpin for UnaryPostfixOp
impl UnsafeUnpin for UnaryPostfixOp
impl UnwindSafe for UnaryPostfixOp
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