Struct map_model::raw::RawBusStop [−][src]
pub struct RawBusStop { pub name: String, pub vehicle_pos: (NodeID, Pt2D), pub matched_road: Option<(OriginalRoad, Direction)>, pub ped_pos: Option<Pt2D>, }
Fields
name: String
vehicle_pos: (NodeID, Pt2D)
Probably not an intersection, but this type is more convenient.
matched_road: Option<(OriginalRoad, Direction)>
Guaranteed to be filled out when RawMap is fully written.
ped_pos: Option<Pt2D>
If it’s not explicitly mapped, we’ll do equiv_pos.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more