pub struct Isochrone {
pub value: f64,
pub polygon: Option<Polygon>,
pub nodes: Vec<NodeId>,
pub area: Option<f64>,
pub perimeter: Option<f64>,
}Expand description
An isochrone (contour of equal travel time/distance)
Fields§
§value: f64Time/distance value for this isochrone
polygon: Option<Polygon>Polygon representing the isochrone boundary
nodes: Vec<NodeId>Nodes on or inside the isochrone
area: Option<f64>Area of the isochrone polygon (if computed)
perimeter: Option<f64>Perimeter of the isochrone polygon (if computed)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Isochrone
impl RefUnwindSafe for Isochrone
impl Send for Isochrone
impl Sync for Isochrone
impl Unpin for Isochrone
impl UnsafeUnpin for Isochrone
impl UnwindSafe for Isochrone
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