pub enum UpdateOperator {
Increment,
Decrement,
}Expand description
++ and --. The prefix: bool field on Expression::Update
distinguishes ++x from x++.
Variants§
Trait Implementations§
Source§impl Clone for UpdateOperator
impl Clone for UpdateOperator
Source§fn clone(&self) -> UpdateOperator
fn clone(&self) -> UpdateOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UpdateOperator
Source§impl Debug for UpdateOperator
impl Debug for UpdateOperator
Source§impl Display for UpdateOperator
impl Display for UpdateOperator
impl Eq for UpdateOperator
Source§impl Hash for UpdateOperator
impl Hash for UpdateOperator
Source§impl PartialEq for UpdateOperator
impl PartialEq for UpdateOperator
impl StructuralPartialEq for UpdateOperator
Auto Trait Implementations§
impl Freeze for UpdateOperator
impl RefUnwindSafe for UpdateOperator
impl Send for UpdateOperator
impl Sync for UpdateOperator
impl Unpin for UpdateOperator
impl UnsafeUnpin for UpdateOperator
impl UnwindSafe for UpdateOperator
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