pub struct Event {
pub time: f64,
pub agent_id: AgentId,
pub event_idx: usize,
/* private fields */
}Expand description
A scheduled event in the queue.
Fields§
§time: f64Absolute time at which this event fires.
agent_id: AgentIdTarget agent for this event.
event_idx: usizeIndex into the model’s actions vector selecting which function to call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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