#[non_exhaustive]#[repr(u8)]pub enum TurnType {
Show 38 variants
ArrivingIdx = 0,
ArrivingLeftIdx = 1,
ArrivingRightIdx = 2,
ArrivingViaIdx = 3,
ArrivingViaLeftIdx = 4,
ArrivingViaRightIdx = 5,
BearKeepLeftIdx = 6,
BearKeepRightIdx = 7,
ContinueIdx = 8,
ExitLeftIdx = 9,
ExitRightIdx = 10,
FerryIdx = 11,
Roundabout45Idx = 12,
Roundabout90Idx = 13,
Roundabout135Idx = 14,
Roundabout180Idx = 15,
Roundabout225Idx = 16,
Roundabout270Idx = 17,
Roundabout315Idx = 18,
Roundabout360Idx = 19,
RoundaboutNeg45Idx = 20,
RoundaboutNeg90Idx = 21,
RoundaboutNeg135Idx = 22,
RoundaboutNeg180Idx = 23,
RoundaboutNeg225Idx = 24,
RoundaboutNeg270Idx = 25,
RoundaboutNeg315Idx = 26,
RoundaboutNeg360Idx = 27,
RoundaboutGenericIdx = 28,
RoundaboutNegGenericIdx = 29,
SharpTurnLeftIdx = 30,
SharpTurnRightIdx = 31,
TurnLeftIdx = 32,
TurnRightIdx = 33,
UturnLeftIdx = 34,
UturnRightIdx = 35,
IconInvIdx = 36,
IconIdxCnt = 37,
}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.
ArrivingIdx = 0
ArrivingLeftIdx = 1
ArrivingRightIdx = 2
ArrivingViaIdx = 3
ArrivingViaLeftIdx = 4
ArrivingViaRightIdx = 5
BearKeepLeftIdx = 6
BearKeepRightIdx = 7
ContinueIdx = 8
ExitLeftIdx = 9
ExitRightIdx = 10
FerryIdx = 11
Roundabout45Idx = 12
Roundabout90Idx = 13
Roundabout135Idx = 14
Roundabout180Idx = 15
Roundabout225Idx = 16
Roundabout270Idx = 17
Roundabout315Idx = 18
Roundabout360Idx = 19
RoundaboutNeg45Idx = 20
RoundaboutNeg90Idx = 21
RoundaboutNeg135Idx = 22
RoundaboutNeg180Idx = 23
RoundaboutNeg225Idx = 24
RoundaboutNeg270Idx = 25
RoundaboutNeg315Idx = 26
RoundaboutNeg360Idx = 27
RoundaboutGenericIdx = 28
RoundaboutNegGenericIdx = 29
SharpTurnLeftIdx = 30
SharpTurnRightIdx = 31
TurnLeftIdx = 32
TurnRightIdx = 33
UturnLeftIdx = 34
UturnRightIdx = 35
IconInvIdx = 36
IconIdxCnt = 37
Implementations§
Trait Implementations§
impl Copy for TurnType
impl Eq for TurnType
impl StructuralPartialEq for TurnType
Auto Trait Implementations§
impl Freeze for TurnType
impl RefUnwindSafe for TurnType
impl Send for TurnType
impl Sync for TurnType
impl Unpin for TurnType
impl UnsafeUnpin for TurnType
impl UnwindSafe for TurnType
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