Struct sim::SidewalkSpot [−][src]
pub(crate) struct SidewalkSpot { pub connection: SidewalkPOI, pub sidewalk_pos: Position, }
Fields
connection: SidewalkPOI
sidewalk_pos: Position
Implementations
impl SidewalkSpot
[src]
impl SidewalkSpot
[src]pub fn deferred_parking_spot() -> SidewalkSpot
[src]
Pretty hacky case
pub fn parking_spot(
spot: ParkingSpot,
map: &Map,
parking_sim: &ParkingSimState
) -> SidewalkSpot
[src]
spot: ParkingSpot,
map: &Map,
parking_sim: &ParkingSimState
) -> SidewalkSpot
pub fn building(b: BuildingID, map: &Map) -> SidewalkSpot
[src]
pub fn bike_rack(b: BuildingID, map: &Map) -> Option<SidewalkSpot>
[src]
pub fn bus_stop(stop: BusStopID, map: &Map) -> SidewalkSpot
[src]
pub fn start_at_border(i: IntersectionID, map: &Map) -> Option<SidewalkSpot>
[src]
pub fn end_at_border(i: IntersectionID, map: &Map) -> Option<SidewalkSpot>
[src]
pub fn suddenly_appear(pos: Position, map: &Map) -> SidewalkSpot
[src]
Trait Implementations
impl Clone for SidewalkSpot
[src]
impl Clone for SidewalkSpot
[src]fn clone(&self) -> SidewalkSpot
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SidewalkSpot
[src]
impl<'de> Deserialize<'de> for SidewalkSpot
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SidewalkSpot> for SidewalkSpot
[src]
impl PartialEq<SidewalkSpot> for SidewalkSpot
[src]fn eq(&self, other: &SidewalkSpot) -> bool
[src]
fn ne(&self, other: &SidewalkSpot) -> bool
[src]
impl Serialize for SidewalkSpot
[src]
impl Serialize for SidewalkSpot
[src]impl StructuralPartialEq for SidewalkSpot
[src]
Auto Trait Implementations
impl RefUnwindSafe for SidewalkSpot
impl Send for SidewalkSpot
impl Sync for SidewalkSpot
impl Unpin for SidewalkSpot
impl UnwindSafe for SidewalkSpot
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
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>,