pub enum TurnInstructionMode {
None = 0,
AutoChoose = 1,
LocusStyle = 2,
OsmandStyle = 3,
CommentStyle = 4,
GpsiesStyle = 5,
OruxStyle = 6,
LocusOldStyle = 7,
}
Expand description
The mode for turn instructions
Variants§
None = 0
No turn instructions
AutoChoose = 1
Turn instructions with auto choosing
LocusStyle = 2
Use locus style turn instructions
OsmandStyle = 3
Use osmand style turn instructions
CommentStyle = 4
Use comment style turn instructions
GpsiesStyle = 5
Use gpx style turn instructions
OruxStyle = 6
Use orux style turn instructions
LocusOldStyle = 7
Use old style locus turn instructions
Trait Implementations§
Source§impl Clone for TurnInstructionMode
impl Clone for TurnInstructionMode
Source§fn clone(&self) -> TurnInstructionMode
fn clone(&self) -> TurnInstructionMode
Returns a copy of the value. Read more
1.0.0 · 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 TurnInstructionMode
impl Debug for TurnInstructionMode
Source§impl Default for TurnInstructionMode
impl Default for TurnInstructionMode
Source§fn default() -> TurnInstructionMode
fn default() -> TurnInstructionMode
Returns the “default value” for a type. Read more
impl Copy for TurnInstructionMode
Auto Trait Implementations§
impl Freeze for TurnInstructionMode
impl RefUnwindSafe for TurnInstructionMode
impl Send for TurnInstructionMode
impl Sync for TurnInstructionMode
impl Unpin for TurnInstructionMode
impl UnwindSafe for TurnInstructionMode
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