Enum sim::router::Goal [−][src]
enum Goal { ParkNearBuilding { target: BuildingID, spot: Option<(ParkingSpot, Distance)>, stuck_end_dist: Option<Distance>, started_looking: bool, }, EndAtBorder { end_dist: Distance, i: IntersectionID, }, BikeThenStop { goal: SidewalkSpot, }, FollowBusRoute { end_dist: Distance, }, }
Variants
Spot and cached distance along the last driving lane
Show fields
Fields of ParkNearBuilding
target: BuildingID
spot: Option<(ParkingSpot, Distance)>
stuck_end_dist: Option<Distance>
No parking available at all!
started_looking: bool
Show fields
Fields of EndAtBorder
end_dist: Distance
i: IntersectionID
Show fields
Fields of BikeThenStop
goal: SidewalkSpot
Show fields
Fields of FollowBusRoute
end_dist: Distance
Trait Implementations
impl<'de> Deserialize<'de> for Goal
[src]
impl<'de> Deserialize<'de> for Goal
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Goal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Goal
impl Send for Goal
impl Sync for Goal
impl Unpin for Goal
impl UnwindSafe for Goal
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>,