Struct sim::make::generator::SpawnOverTime [−][src]
pub struct SpawnOverTime { pub num_agents: usize, pub start_time: Time, pub stop_time: Time, pub goal: Option<TripEndpoint>, pub percent_driving: f64, pub percent_biking: f64, pub percent_use_transit: f64, }
Fields
num_agents: usize
start_time: Time
stop_time: Time
goal: Option<TripEndpoint>
percent_driving: f64
percent_biking: f64
percent_use_transit: f64
Implementations
impl SpawnOverTime
[src]
impl SpawnOverTime
[src]fn spawn_agent(&self, rng: &mut XorShiftRng, scenario: &mut Scenario, map: &Map)
[src]
Trait Implementations
impl Clone for SpawnOverTime
[src]
impl Clone for SpawnOverTime
[src]fn clone(&self) -> SpawnOverTime
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for SpawnOverTime
[src]
impl<'de> Deserialize<'de> for SpawnOverTime
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for SpawnOverTime
[src]
impl Serialize for SpawnOverTime
[src]Auto Trait Implementations
impl RefUnwindSafe for SpawnOverTime
impl Send for SpawnOverTime
impl Sync for SpawnOverTime
impl Unpin for SpawnOverTime
impl UnwindSafe for SpawnOverTime
Blanket Implementations
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
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>,