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