#[non_exhaustive]#[repr(u8)]pub enum SportEvent {
Uncategorized = 0,
Geocaching = 1,
Fitness = 2,
Recreation = 3,
Race = 4,
SpecialEvent = 5,
Training = 6,
Transportation = 7,
Touring = 8,
}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.
Uncategorized = 0
Geocaching = 1
Fitness = 2
Recreation = 3
Race = 4
SpecialEvent = 5
Training = 6
Transportation = 7
Touring = 8
Implementations§
Source§impl SportEvent
impl SportEvent
Trait Implementations§
Source§impl Clone for SportEvent
impl Clone for SportEvent
Source§fn clone(&self) -> SportEvent
fn clone(&self) -> SportEvent
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 SportEvent
impl Debug for SportEvent
Source§impl Hash for SportEvent
impl Hash for SportEvent
Source§impl PartialEq for SportEvent
impl PartialEq for SportEvent
Source§fn eq(&self, other: &SportEvent) -> bool
fn eq(&self, other: &SportEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SportEvent
impl Eq for SportEvent
impl StructuralPartialEq for SportEvent
Auto Trait Implementations§
impl Freeze for SportEvent
impl RefUnwindSafe for SportEvent
impl Send for SportEvent
impl Sync for SportEvent
impl Unpin for SportEvent
impl UnsafeUnpin for SportEvent
impl UnwindSafe for SportEvent
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