Struct convert_osm::extract::OsmExtract [−][src]
pub struct OsmExtract { pub roads: Vec<(WayID, RawRoad)>, pub traffic_signals: HashMap<HashablePt2D, Direction>, pub osm_node_ids: HashMap<HashablePt2D, NodeID>, pub simple_turn_restrictions: Vec<(RestrictionType, WayID, NodeID, WayID)>, pub complicated_turn_restrictions: Vec<(RelationID, WayID, WayID, WayID)>, pub amenities: Vec<(Pt2D, Amenity)>, }
Fields
roads: Vec<(WayID, RawRoad)>
Unsplit roads
traffic_signals: HashMap<HashablePt2D, Direction>
Traffic signals to the direction they apply
osm_node_ids: HashMap<HashablePt2D, NodeID>
simple_turn_restrictions: Vec<(RestrictionType, WayID, NodeID, WayID)>
(ID, restriction type, from way ID, via node ID, to way ID)
complicated_turn_restrictions: Vec<(RelationID, WayID, WayID, WayID)>
(relation ID, from way ID, via way ID, to way ID)
amenities: Vec<(Pt2D, Amenity)>
(location, amenity)
Auto Trait Implementations
impl RefUnwindSafe for OsmExtract
impl Send for OsmExtract
impl Sync for OsmExtract
impl Unpin for OsmExtract
impl UnwindSafe for OsmExtract
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>,