[][src]Enum sim::DrivingGoal

pub(crate) enum DrivingGoal {
    ParkNear(BuildingID),
    Border(IntersectionIDLaneID),
}

Variants

ParkNear(BuildingID)
Border(IntersectionIDLaneID)

Implementations

impl DrivingGoal[src]

pub fn goal_pos(
    &self,
    constraints: PathConstraints,
    map: &Map
) -> Option<Position>
[src]

pub fn make_router(&self, owner: CarID, path: Path, map: &Map) -> Router[src]

Trait Implementations

impl Clone for DrivingGoal[src]

impl Debug for DrivingGoal[src]

impl<'de> Deserialize<'de> for DrivingGoal[src]

impl Eq for DrivingGoal[src]

impl PartialEq<DrivingGoal> for DrivingGoal[src]

impl Serialize for DrivingGoal[src]

impl StructuralEq for DrivingGoal[src]

impl StructuralPartialEq for DrivingGoal[src]

Auto Trait Implementations

impl RefUnwindSafe for DrivingGoal

impl Send for DrivingGoal

impl Sync for DrivingGoal

impl Unpin for DrivingGoal

impl UnwindSafe for DrivingGoal

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,