pub struct Waiter {
pub passenger: PassengerId,
pub destination: StopId,
pub arrived_at: f64,
}Expand description
A waiting passenger with an intended alighting stop.
Fields§
§passenger: PassengerIdPassenger identifier.
destination: StopIdStop at which this passenger intends to alight.
arrived_at: f64Simulation time at which the passenger arrived at the stop.
Trait Implementations§
impl Copy for Waiter
impl StructuralPartialEq for Waiter
Auto Trait Implementations§
impl Freeze for Waiter
impl RefUnwindSafe for Waiter
impl Send for Waiter
impl Sync for Waiter
impl Unpin for Waiter
impl UnsafeUnpin for Waiter
impl UnwindSafe for Waiter
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