Enum sim::VehicleType [−][src]
pub enum VehicleType { Car, Bus, Train, Bike, }
Variants
Implementations
impl VehicleType
[src]
impl VehicleType
[src]pub fn to_constraints(self) -> PathConstraints
[src]
pub(crate) fn is_transit(self) -> bool
[src]
Trait Implementations
impl Clone for VehicleType
[src]
impl Clone for VehicleType
[src]fn clone(&self) -> VehicleType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for VehicleType
[src]
impl<'de> Deserialize<'de> for VehicleType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for VehicleType
[src]
impl Hash for VehicleType
[src]impl Ord for VehicleType
[src]
impl Ord for VehicleType
[src]impl PartialEq<VehicleType> for VehicleType
[src]
impl PartialEq<VehicleType> for VehicleType
[src]impl PartialOrd<VehicleType> for VehicleType
[src]
impl PartialOrd<VehicleType> for VehicleType
[src]impl Serialize for VehicleType
[src]
impl Serialize for VehicleType
[src]impl Copy for VehicleType
[src]
impl Eq for VehicleType
[src]
impl StructuralEq for VehicleType
[src]
impl StructuralPartialEq for VehicleType
[src]
Auto Trait Implementations
impl RefUnwindSafe for VehicleType
impl Send for VehicleType
impl Sync for VehicleType
impl Unpin for VehicleType
impl UnwindSafe for VehicleType
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
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>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,