pub struct TrackPoint {
pub x: Option<f64>,
pub y: Option<f64>,
pub d: Option<f64>,
pub e: Option<f64>,
pub surface: Option<i32>,
pub highway: Option<i32>,
}Expand description
Track point on a route
Fields§
§x: Option<f64>Longitude
y: Option<f64>Latitude
d: Option<f64>Distance in meters
e: Option<f64>Elevation in meters
surface: Option<i32>Surface type
highway: Option<i32>Highway tag
Trait Implementations§
Source§impl Clone for TrackPoint
impl Clone for TrackPoint
Source§fn clone(&self) -> TrackPoint
fn clone(&self) -> TrackPoint
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 TrackPoint
impl Debug for TrackPoint
Source§impl<'de> Deserialize<'de> for TrackPoint
impl<'de> Deserialize<'de> for TrackPoint
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 TrackPoint
impl RefUnwindSafe for TrackPoint
impl Send for TrackPoint
impl Sync for TrackPoint
impl Unpin for TrackPoint
impl UnwindSafe for TrackPoint
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