Struct dvcompute_utils::simulation::arrival::Arrival [−][src]
Expand description
An arrival to denote some external event.
Fields
val: T
The data received with the event.
time: f64
The simulation time at which the event has arrived.
delay: Option<f64>
The delay time which has passed from the time of arriving the previous event.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for Arrival<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Arrival<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more