pub enum ScheduleCleanupPolicy {
RemoveSetAndSystems,
RemoveSystemsOnly,
RemoveSetAndSystemsAllowBreakages,
RemoveSystemsOnlyAllowBreakages,
}Expand description
Policy to use when removing systems.
Variants§
RemoveSetAndSystems
Remove the referenced set and any systems in the set. Attempts to maintain the order between the transitive dependencies by adding new edges between the existing before and after dependencies on the set and the systems. This does not remove sets that might sub sets of the set.
RemoveSystemsOnly
Remove only the systems in the set. The set Attempts to maintain the order between the transitive dependencies by adding new edges between the existing before and after dependencies on the systems.
RemoveSetAndSystemsAllowBreakages
Remove the set and any systems in the set. Note that this will not add new edges and so will break any transitive dependencies on that set or systems. This does not remove sets that might sub sets of the set.
RemoveSystemsOnlyAllowBreakages
Remove only the systems in the set. Note that this will not add new edges and so will break any transitive dependencies on that set or systems.
Trait Implementations§
Source§impl Clone for ScheduleCleanupPolicy
impl Clone for ScheduleCleanupPolicy
Source§fn clone(&self) -> ScheduleCleanupPolicy
fn clone(&self) -> ScheduleCleanupPolicy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ScheduleCleanupPolicy
impl Debug for ScheduleCleanupPolicy
Source§impl Default for ScheduleCleanupPolicy
impl Default for ScheduleCleanupPolicy
Source§fn default() -> ScheduleCleanupPolicy
fn default() -> ScheduleCleanupPolicy
Source§impl PartialEq for ScheduleCleanupPolicy
impl PartialEq for ScheduleCleanupPolicy
impl Copy for ScheduleCleanupPolicy
impl Eq for ScheduleCleanupPolicy
impl StructuralPartialEq for ScheduleCleanupPolicy
Auto Trait Implementations§
impl Freeze for ScheduleCleanupPolicy
impl RefUnwindSafe for ScheduleCleanupPolicy
impl Send for ScheduleCleanupPolicy
impl Sync for ScheduleCleanupPolicy
impl Unpin for ScheduleCleanupPolicy
impl UnsafeUnpin for ScheduleCleanupPolicy
impl UnwindSafe for ScheduleCleanupPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FromTemplate for T
impl<T> FromTemplate for T
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, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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>
Source§impl<T> Template for T
impl<T> Template for T
Source§fn build_template(
&self,
_context: &mut TemplateContext<'_, '_>,
) -> Result<<T as Template>::Output, BevyError>
fn build_template( &self, _context: &mut TemplateContext<'_, '_>, ) -> Result<<T as Template>::Output, BevyError>
entity context to produce a Template::Output.Source§fn clone_template(&self) -> T
fn clone_template(&self) -> T
Clone.