pub struct SimpleExecutor { /* private fields */ }👎Deprecated since 0.17.0: Use SingleThreadedExecutor instead. See https://github.com/bevyengine/bevy/issues/18453 for motivation.
Expand description
A variant of SingleThreadedExecutor that calls
apply_deferred immediately after running each system.
Implementations§
Source§impl SimpleExecutor
impl SimpleExecutor
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new simple executor for use in a Schedule.
This calls each system in order and immediately calls System::apply_deferred.
Trait Implementations§
Source§impl Default for SimpleExecutor
impl Default for SimpleExecutor
Source§fn default() -> SimpleExecutor
fn default() -> SimpleExecutor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimpleExecutor
impl RefUnwindSafe for SimpleExecutor
impl Send for SimpleExecutor
impl Sync for SimpleExecutor
impl Unpin for SimpleExecutor
impl UnwindSafe for SimpleExecutor
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 default().
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.