#[non_exhaustive]#[repr(u8)]pub enum ClimbProEvent {
Approach = 0,
Start = 1,
Complete = 2,
}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.
Implementations§
Source§impl ClimbProEvent
impl ClimbProEvent
Trait Implementations§
Source§impl Clone for ClimbProEvent
impl Clone for ClimbProEvent
Source§fn clone(&self) -> ClimbProEvent
fn clone(&self) -> ClimbProEvent
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 ClimbProEvent
impl Debug for ClimbProEvent
Source§impl Hash for ClimbProEvent
impl Hash for ClimbProEvent
Source§impl PartialEq for ClimbProEvent
impl PartialEq for ClimbProEvent
Source§fn eq(&self, other: &ClimbProEvent) -> bool
fn eq(&self, other: &ClimbProEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClimbProEvent
impl Eq for ClimbProEvent
impl StructuralPartialEq for ClimbProEvent
Auto Trait Implementations§
impl Freeze for ClimbProEvent
impl RefUnwindSafe for ClimbProEvent
impl Send for ClimbProEvent
impl Sync for ClimbProEvent
impl Unpin for ClimbProEvent
impl UnsafeUnpin for ClimbProEvent
impl UnwindSafe for ClimbProEvent
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