#[non_exhaustive]pub enum CounterReset {
None,
Raw(Raw),
}Expand description
A value of counter-reset.
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 CounterReset
impl Clone for CounterReset
Source§fn clone(&self) -> CounterReset
fn clone(&self) -> CounterReset
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 CounterReset
impl Debug for CounterReset
Source§impl Display for CounterReset
impl Display for CounterReset
Source§impl From<Raw> for CounterReset
impl From<Raw> for CounterReset
Source§impl PartialEq for CounterReset
impl PartialEq for CounterReset
impl StructuralPartialEq for CounterReset
Auto Trait Implementations§
impl Freeze for CounterReset
impl RefUnwindSafe for CounterReset
impl Send for CounterReset
impl Sync for CounterReset
impl Unpin for CounterReset
impl UnsafeUnpin for CounterReset
impl UnwindSafe for CounterReset
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