#[non_exhaustive]#[repr(u8)]pub enum CoursePoint {
Show 53 variants
Generic = 0,
Summit = 1,
Valley = 2,
Water = 3,
Food = 4,
Danger = 5,
Left = 6,
Right = 7,
Straight = 8,
FirstAid = 9,
FourthCategory = 10,
ThirdCategory = 11,
SecondCategory = 12,
FirstCategory = 13,
HorsCategory = 14,
Sprint = 15,
LeftFork = 16,
RightFork = 17,
MiddleFork = 18,
SlightLeft = 19,
SharpLeft = 20,
SlightRight = 21,
SharpRight = 22,
UTurn = 23,
SegmentStart = 24,
SegmentEnd = 25,
Campsite = 27,
AidStation = 28,
RestArea = 29,
GeneralDistance = 30,
Service = 31,
EnergyGel = 32,
SportsDrink = 33,
MileMarker = 34,
Checkpoint = 35,
Shelter = 36,
MeetingSpot = 37,
Overlook = 38,
Toilet = 39,
Shower = 40,
Gear = 41,
SharpCurve = 42,
SteepIncline = 43,
Tunnel = 44,
Bridge = 45,
Obstacle = 46,
Crossing = 47,
Store = 48,
Transition = 49,
Navaid = 50,
Transport = 51,
Alert = 52,
Info = 53,
}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.
Generic = 0
Summit = 1
Valley = 2
Water = 3
Food = 4
Danger = 5
Left = 6
Right = 7
Straight = 8
FirstAid = 9
FourthCategory = 10
ThirdCategory = 11
SecondCategory = 12
FirstCategory = 13
HorsCategory = 14
Sprint = 15
LeftFork = 16
RightFork = 17
MiddleFork = 18
SlightLeft = 19
SharpLeft = 20
SlightRight = 21
SharpRight = 22
UTurn = 23
SegmentStart = 24
SegmentEnd = 25
Campsite = 27
AidStation = 28
RestArea = 29
GeneralDistance = 30
Service = 31
EnergyGel = 32
SportsDrink = 33
MileMarker = 34
Checkpoint = 35
Shelter = 36
MeetingSpot = 37
Overlook = 38
Toilet = 39
Shower = 40
Gear = 41
SharpCurve = 42
SteepIncline = 43
Tunnel = 44
Bridge = 45
Obstacle = 46
Crossing = 47
Store = 48
Transition = 49
Transport = 51
Alert = 52
Info = 53
Implementations§
Source§impl CoursePoint
impl CoursePoint
Trait Implementations§
Source§impl Clone for CoursePoint
impl Clone for CoursePoint
Source§fn clone(&self) -> CoursePoint
fn clone(&self) -> CoursePoint
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 CoursePoint
impl Debug for CoursePoint
Source§impl Hash for CoursePoint
impl Hash for CoursePoint
Source§impl PartialEq for CoursePoint
impl PartialEq for CoursePoint
Source§fn eq(&self, other: &CoursePoint) -> bool
fn eq(&self, other: &CoursePoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CoursePoint
impl Eq for CoursePoint
impl StructuralPartialEq for CoursePoint
Auto Trait Implementations§
impl Freeze for CoursePoint
impl RefUnwindSafe for CoursePoint
impl Send for CoursePoint
impl Sync for CoursePoint
impl Unpin for CoursePoint
impl UnsafeUnpin for CoursePoint
impl UnwindSafe for CoursePoint
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