#[non_exhaustive]pub enum CounterIncrement {
None,
Raw(Raw),
}Expand description
A value of counter-increment.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CounterIncrement
impl Clone for CounterIncrement
Source§fn clone(&self) -> CounterIncrement
fn clone(&self) -> CounterIncrement
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 moreSource§impl Debug for CounterIncrement
impl Debug for CounterIncrement
Source§impl Display for CounterIncrement
impl Display for CounterIncrement
Source§impl From<Raw> for CounterIncrement
impl From<Raw> for CounterIncrement
Source§impl PartialEq for CounterIncrement
impl PartialEq for CounterIncrement
impl StructuralPartialEq for CounterIncrement
Auto Trait Implementations§
impl Freeze for CounterIncrement
impl RefUnwindSafe for CounterIncrement
impl Send for CounterIncrement
impl Sync for CounterIncrement
impl Unpin for CounterIncrement
impl UnsafeUnpin for CounterIncrement
impl UnwindSafe for CounterIncrement
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