#[non_exhaustive]#[repr(u8)]pub enum AutolapTrigger {
Time = 0,
Distance = 1,
PositionStart = 2,
PositionLap = 3,
PositionWaypoint = 4,
PositionMarked = 5,
Off = 6,
AutoSelect = 13,
}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.
Time = 0
Distance = 1
PositionStart = 2
PositionLap = 3
PositionWaypoint = 4
PositionMarked = 5
Off = 6
AutoSelect = 13
Implementations§
Trait Implementations§
Source§impl Clone for AutolapTrigger
impl Clone for AutolapTrigger
Source§fn clone(&self) -> AutolapTrigger
fn clone(&self) -> AutolapTrigger
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 AutolapTrigger
impl Debug for AutolapTrigger
Source§impl Hash for AutolapTrigger
impl Hash for AutolapTrigger
Source§impl PartialEq for AutolapTrigger
impl PartialEq for AutolapTrigger
Source§fn eq(&self, other: &AutolapTrigger) -> bool
fn eq(&self, other: &AutolapTrigger) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AutolapTrigger
impl Eq for AutolapTrigger
impl StructuralPartialEq for AutolapTrigger
Auto Trait Implementations§
impl Freeze for AutolapTrigger
impl RefUnwindSafe for AutolapTrigger
impl Send for AutolapTrigger
impl Sync for AutolapTrigger
impl Unpin for AutolapTrigger
impl UnsafeUnpin for AutolapTrigger
impl UnwindSafe for AutolapTrigger
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