Struct map_model::Zone [−][src]
pub struct Zone { pub members: BTreeSet<RoadID>, pub borders: BTreeSet<IntersectionID>, pub restrictions: AccessRestrictions, }
Expand description
A contiguous set of roads with access restrictions. This is derived from all the map’s roads and kept cached for performance.
Fields
members: BTreeSet<RoadID>
borders: BTreeSet<IntersectionID>
restrictions: AccessRestrictions
Implementations
Trait Implementations
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 RefUnwindSafe for Zone
impl UnwindSafe for Zone
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self