Struct fifteen_min::isochrone::BorderIsochrone [−][src]
pub struct BorderIsochrone { pub start: Vec<IntersectionID>, pub options: Options, pub draw: Drawable, pub thresholds: Vec<f64>, pub colors: Vec<Color>, pub time_to_reach_building: HashMap<BuildingID, Duration>, }
Represents the area reachable from all intersections on the map border
Fields
start: Vec<IntersectionID>
The center of the isochrone (can be multiple points)
options: Options
The options used to generate this isochrone
draw: Drawable
Colored polygon contours, uploaded to the GPU and ready for drawing
thresholds: Vec<f64>
Thresholds used to draw the isochrone
colors: Vec<Color>
Colors used to draw the isochrone
time_to_reach_building: HashMap<BuildingID, Duration>
How far away is each building from the start?
Implementations
impl BorderIsochrone
[src]
impl BorderIsochrone
[src]pub fn new(
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
[src]
ctx: &mut EventCtx<'_>,
app: &SimpleApp<()>,
start: Vec<IntersectionID>,
options: Options
) -> BorderIsochrone
Auto Trait Implementations
impl !RefUnwindSafe for BorderIsochrone
impl !Send for BorderIsochrone
impl !Sync for BorderIsochrone
impl Unpin for BorderIsochrone
impl UnwindSafe for BorderIsochrone
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,