pub struct CoursePoint {
pub x: Option<f64>,
pub y: Option<f64>,
pub d: Option<f64>,
pub t: Option<String>,
pub n: Option<String>,
}Expand description
Course point (turn-by-turn cue) on a route
Fields§
§x: Option<f64>Longitude
y: Option<f64>Latitude
d: Option<f64>Distance in meters
t: Option<String>Cue type
n: Option<String>Cue text/description
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 · 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<'de> Deserialize<'de> for CoursePoint
impl<'de> Deserialize<'de> for CoursePoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoursePoint
impl RefUnwindSafe for CoursePoint
impl Send for CoursePoint
impl Sync for CoursePoint
impl Unpin 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