[][src]Enum sim::TripMode

pub enum TripMode {
    Walk,
    Bike,
    Transit,
    Drive,
}

Variants

Walk
Bike
Transit
Drive

Implementations

impl TripMode[src]

pub fn all() -> Vec<TripMode>[src]

pub fn verb(self) -> &'static str[src]

pub fn ongoing_verb(self) -> &'static str[src]

pub fn noun(self) -> &'static str[src]

pub fn to_constraints(self) -> PathConstraints[src]

pub fn from_constraints(c: PathConstraints) -> TripMode[src]

Trait Implementations

impl Clone for TripMode[src]

impl Copy for TripMode[src]

impl Debug for TripMode[src]

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

impl Eq for TripMode[src]

impl Ord for TripMode[src]

impl PartialEq<TripMode> for TripMode[src]

impl PartialOrd<TripMode> for TripMode[src]

impl Serialize for TripMode[src]

impl StructuralEq for TripMode[src]

impl StructuralPartialEq for TripMode[src]

Auto Trait Implementations

impl RefUnwindSafe for TripMode

impl Send for TripMode

impl Sync for TripMode

impl Unpin for TripMode

impl UnwindSafe for TripMode

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> 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>,