pub struct Scheduler<B: SimBackend> {
pub time: u64,
pub clocks: Vec<Option<ClockDef>>,
pub event_queue: BinaryHeap<SimEvent<B>>,
}Fields§
§time: u64§clocks: Vec<Option<ClockDef>>§event_queue: BinaryHeap<SimEvent<B>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for Scheduler<B>
impl<B> RefUnwindSafe for Scheduler<B>
impl<B> Send for Scheduler<B>
impl<B> Sync for Scheduler<B>
impl<B> Unpin for Scheduler<B>
impl<B> UnsafeUnpin for Scheduler<B>
impl<B> UnwindSafe for Scheduler<B>
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