pub struct ServiceAreaInterval {
pub max_cost: f64,
pub nodes: Vec<NodeId>,
pub count: usize,
pub boundary: Option<Polygon>,
pub area: Option<f64>,
}Expand description
A single service area interval (break value)
Fields§
§max_cost: f64Maximum cost for this interval
nodes: Vec<NodeId>Nodes within this interval
count: usizeNumber of reachable nodes
boundary: Option<Polygon>Boundary polygon (if computed)
area: Option<f64>Area of the boundary polygon (if computed)
Trait Implementations§
Source§impl Clone for ServiceAreaInterval
impl Clone for ServiceAreaInterval
Source§fn clone(&self) -> ServiceAreaInterval
fn clone(&self) -> ServiceAreaInterval
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 ServiceAreaInterval
impl RefUnwindSafe for ServiceAreaInterval
impl Send for ServiceAreaInterval
impl Sync for ServiceAreaInterval
impl Unpin for ServiceAreaInterval
impl UnsafeUnpin for ServiceAreaInterval
impl UnwindSafe for ServiceAreaInterval
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