Enum sim::make::modifier::ScenarioModifier [−][src]
pub enum ScenarioModifier { RepeatDays(usize), ChangeMode { pct_ppl: usize, departure_filter: (Time, Time), from_modes: BTreeSet<TripMode>, to_mode: Option<TripMode>, }, AddExtraTrips(String), }
Transforms an existing Scenario before instantiating it.
Variants
RepeatDays(usize)
Show fields
AddExtraTrips(String)
Scenario name
Implementations
impl ScenarioModifier
[src]
impl ScenarioModifier
[src]Trait Implementations
impl Clone for ScenarioModifier
[src]
impl Clone for ScenarioModifier
[src]fn clone(&self) -> ScenarioModifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for ScenarioModifier
[src]
impl<'de> Deserialize<'de> for ScenarioModifier
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Ord for ScenarioModifier
[src]
impl Ord for ScenarioModifier
[src]impl PartialEq<ScenarioModifier> for ScenarioModifier
[src]
impl PartialEq<ScenarioModifier> for ScenarioModifier
[src]fn eq(&self, other: &ScenarioModifier) -> bool
[src]
fn ne(&self, other: &ScenarioModifier) -> bool
[src]
impl PartialOrd<ScenarioModifier> for ScenarioModifier
[src]
impl PartialOrd<ScenarioModifier> for ScenarioModifier
[src]fn partial_cmp(&self, other: &ScenarioModifier) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for ScenarioModifier
[src]
impl Serialize for ScenarioModifier
[src]impl Eq for ScenarioModifier
[src]
impl StructuralEq for ScenarioModifier
[src]
impl StructuralPartialEq for ScenarioModifier
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScenarioModifier
impl Send for ScenarioModifier
impl Sync for ScenarioModifier
impl Unpin for ScenarioModifier
impl UnwindSafe for ScenarioModifier
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>,