pub struct TaskScheduler(/* private fields */);
Implementations§
Source§impl TaskScheduler
impl TaskScheduler
pub fn new() -> TaskScheduler
pub fn add(&self, task: impl MarkingTask + 'static)
Auto Trait Implementations§
impl !Freeze for TaskScheduler
impl !RefUnwindSafe for TaskScheduler
impl !Send for TaskScheduler
impl !Sync for TaskScheduler
impl Unpin for TaskScheduler
impl !UnwindSafe for TaskScheduler
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