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§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
Source§impl Ord for ScheduledEvent
impl Ord for ScheduledEvent
Source§impl PartialEq for ScheduledEvent
impl PartialEq for ScheduledEvent
Source§impl PartialOrd for ScheduledEvent
impl PartialOrd for ScheduledEvent
impl Eq 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 UnwindSafe for ScheduledEvent
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)