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