pub struct Maneuver {
pub at_index: usize,
pub location: LonLat,
pub turn_deg: f64,
pub instruction_vi: String,
pub instruction_en: String,
}Expand description
A single navigation maneuver.
Fields§
§at_index: usizeIndex of the route point where the maneuver happens.
location: LonLat§turn_deg: f64Turn angle in degrees: negative = left, positive = right.
instruction_vi: String§instruction_en: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Maneuver
impl RefUnwindSafe for Maneuver
impl Send for Maneuver
impl Sync for Maneuver
impl Unpin for Maneuver
impl UnsafeUnpin for Maneuver
impl UnwindSafe for Maneuver
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