Enum sim::trips::TripMode [−][src]
pub enum TripMode { Walk, Bike, Transit, Drive, }
Variants
Implementations
impl TripMode
[src]
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<'de> Deserialize<'de> for TripMode
[src]
impl<'de> Deserialize<'de> for TripMode
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialOrd<TripMode> for TripMode
[src]
impl PartialOrd<TripMode> for TripMode
[src]impl Copy for TripMode
[src]
impl Eq 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> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
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>,