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[src]

impl Send for OsmExtract[src]

impl Sync for OsmExtract[src]

impl Unpin for OsmExtract[src]

impl UnwindSafe for OsmExtract[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,