Struct map_model::BusStop [−][src]
pub struct BusStop { pub id: BusStopID, pub name: String, pub driving_pos: Position, pub sidewalk_pos: Position, pub is_train_stop: bool, }
Fields
id: BusStopID
name: String
driving_pos: Position
These may be on different roads entirely, like for light rail platforms.
sidewalk_pos: Position
is_train_stop: bool
If it’s both, train overrides bus
Trait Implementations
impl<'de> Deserialize<'de> for BusStop
[src]
impl<'de> Deserialize<'de> for BusStop
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for BusStop
[src]
Auto Trait Implementations
impl RefUnwindSafe for BusStop
impl Send for BusStop
impl Sync for BusStop
impl Unpin for BusStop
impl UnwindSafe for BusStop
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>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,