[][src]Struct convert_osm::extract::OsmExtract

pub struct OsmExtract {
    pub roads: Vec<(WayID, RawRoad)>,
    pub traffic_signals: HashMap<HashablePt2D, bool>,
    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, bool>

Traffic signals to the direction they apply (or just true if unspecified)

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> 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, 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>,