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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.