Struct synthpop::make::generator::BorderSpawnOverTime
source · pub struct BorderSpawnOverTime {
pub num_peds: usize,
pub num_cars: usize,
pub num_bikes: usize,
pub percent_use_transit: f64,
pub start_time: Time,
pub stop_time: Time,
pub start_from_border: IntersectionID,
pub goal: Option<TripEndpoint>,
}
Fields§
§num_peds: usize
§num_cars: usize
§num_bikes: usize
§percent_use_transit: f64
§start_time: Time
§stop_time: Time
§start_from_border: IntersectionID
§goal: Option<TripEndpoint>
Implementations§
source§impl BorderSpawnOverTime
impl BorderSpawnOverTime
fn spawn( &self, rng: &mut XorShiftRng, scenario: &mut Scenario, mode: TripMode, map: &Map )
Trait Implementations§
source§impl Clone for BorderSpawnOverTime
impl Clone for BorderSpawnOverTime
source§fn clone(&self) -> BorderSpawnOverTime
fn clone(&self) -> BorderSpawnOverTime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BorderSpawnOverTime
impl Debug for BorderSpawnOverTime
source§impl<'de> Deserialize<'de> for BorderSpawnOverTime
impl<'de> Deserialize<'de> for BorderSpawnOverTime
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BorderSpawnOverTime
impl RefUnwindSafe for BorderSpawnOverTime
impl Send for BorderSpawnOverTime
impl Sync for BorderSpawnOverTime
impl Unpin for BorderSpawnOverTime
impl UnwindSafe for BorderSpawnOverTime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more