pub struct RawMap {
pub name: MapName,
pub streets: StreetNetwork,
pub buildings: BTreeMap<OsmID, RawBuilding>,
pub areas: Vec<RawArea>,
pub parking_lots: Vec<RawParkingLot>,
pub parking_aisles: Vec<(WayID, Vec<Pt2D>)>,
pub transit_routes: Vec<RawTransitRoute>,
pub transit_stops: BTreeMap<String, RawTransitStop>,
}
Fields
name: MapName
streets: StreetNetwork
buildings: BTreeMap<OsmID, RawBuilding>
areas: Vec<RawArea>
parking_lots: Vec<RawParkingLot>
parking_aisles: Vec<(WayID, Vec<Pt2D>)>
transit_routes: Vec<RawTransitRoute>
transit_stops: BTreeMap<String, RawTransitStop>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RawMap
impl<'de> Deserialize<'de> for RawMap
sourcefn 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 RawMap
impl Send for RawMap
impl Sync for RawMap
impl Unpin for RawMap
impl UnwindSafe for RawMap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more