Struct caminos_lib::event::EventGeneration [−][src]
pub struct EventGeneration {
pub delay: usize,
pub position: CyclePosition,
pub event: Event,
}
Expand description
Encapsulates a request for insertion on the event queue.
Fields
delay: usize
To insert the event after delay
cycles.
position: CyclePosition
Whether the event should be processed at the begin or the end of its cycle.
event: Event
The actual event to be inserted.