Struct map_model::Zone [−][src]
pub struct Zone { pub members: BTreeSet<RoadID>, pub borders: BTreeSet<IntersectionID>, pub restrictions: AccessRestrictions, }
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
impl<'de> Deserialize<'de> for Zone
[src]
impl<'de> Deserialize<'de> for Zone
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Zone
[src]
Auto Trait Implementations
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnwindSafe for Zone
Blanket Implementations
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>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,