pub struct ServiceArea {
pub origin: NodeId,
pub reachable_nodes: HashMap<NodeId, f64>,
pub intervals: Vec<ServiceAreaInterval>,
pub reachable_edges: Vec<(EdgeId, f64, f64)>,
}Expand description
A service area result
Fields§
§origin: NodeIdOrigin node
reachable_nodes: HashMap<NodeId, f64>Reachable nodes with their costs
intervals: Vec<ServiceAreaInterval>Service area intervals (break values)
reachable_edges: Vec<(EdgeId, f64, f64)>Edges reachable within the max cost
Trait Implementations§
Source§impl Clone for ServiceArea
impl Clone for ServiceArea
Source§fn clone(&self) -> ServiceArea
fn clone(&self) -> ServiceArea
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 moreAuto Trait Implementations§
impl Freeze for ServiceArea
impl RefUnwindSafe for ServiceArea
impl Send for ServiceArea
impl Sync for ServiceArea
impl Unpin for ServiceArea
impl UnsafeUnpin for ServiceArea
impl UnwindSafe for ServiceArea
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