pub struct SingleThreadedExecutor { /* private fields */ }
Expand description
Runs the schedule using a single thread.
Useful if you’re dealing with a single-threaded environment, saving your threads for other things, or just trying minimize overhead.
Implementations§
Trait Implementations§
Source§impl Default for SingleThreadedExecutor
impl Default for SingleThreadedExecutor
Source§fn default() -> SingleThreadedExecutor
fn default() -> SingleThreadedExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SingleThreadedExecutor
impl RefUnwindSafe for SingleThreadedExecutor
impl Send for SingleThreadedExecutor
impl Sync for SingleThreadedExecutor
impl Unpin for SingleThreadedExecutor
impl UnwindSafe for SingleThreadedExecutor
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
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates
Self
using data from the given World
.