pub struct ScheduledEvent {
pub sequence: u64,
/* private fields */
}Expand description
An event scheduled for execution at a specific simulation time.
Fields§
§sequence: u64Sequence number for deterministic ordering
Implementations§
Source§impl ScheduledEvent
impl ScheduledEvent
Sourcepub fn into_event(self) -> Event
pub fn into_event(self) -> Event
Consumes the scheduled event and returns the event.
Trait Implementations§
Source§impl Clone for ScheduledEvent
impl Clone for ScheduledEvent
Source§fn clone(&self) -> ScheduledEvent
fn clone(&self) -> ScheduledEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScheduledEvent
impl Debug for ScheduledEvent
impl Eq for ScheduledEvent
Source§impl Ord for ScheduledEvent
impl Ord for ScheduledEvent
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScheduledEvent
impl PartialEq for ScheduledEvent
Source§fn eq(&self, other: &ScheduledEvent) -> bool
fn eq(&self, other: &ScheduledEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ScheduledEvent
impl PartialOrd for ScheduledEvent
impl StructuralPartialEq for ScheduledEvent
Auto Trait Implementations§
impl Freeze for ScheduledEvent
impl RefUnwindSafe for ScheduledEvent
impl Send for ScheduledEvent
impl Sync for ScheduledEvent
impl Unpin for ScheduledEvent
impl UnsafeUnpin for ScheduledEvent
impl UnwindSafe for ScheduledEvent
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