pub type NotSystem<T> = AdapterSystem<NotMarker, T>;
Expand description
Invokes Not
with the output of another system.
See common_conditions::not
for examples.
Aliased Type§
struct NotSystem<T> { /* private fields */ }
Implementations
Trait Implementations
source§impl<Func, S> Clone for AdapterSystem<Func, S>
impl<Func, S> Clone for AdapterSystem<Func, S>
source§fn clone(&self) -> AdapterSystem<Func, S>
fn clone(&self) -> AdapterSystem<Func, S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<Func, S> ReadOnlySystem for AdapterSystem<Func, S>where
Func: Adapt<S>,
S: ReadOnlySystem,
impl<Func, S> ReadOnlySystem for AdapterSystem<Func, S>where
Func: Adapt<S>,
S: ReadOnlySystem,
source§impl<Func, S> System for AdapterSystem<Func, S>
impl<Func, S> System for AdapterSystem<Func, S>
source§fn component_access(&self) -> &Access<ComponentId>
fn component_access(&self) -> &Access<ComponentId>
Returns the system’s component
Access
.source§fn archetype_component_access(&self) -> &Access<ArchetypeComponentId>
fn archetype_component_access(&self) -> &Access<ArchetypeComponentId>
Returns the system’s archetype component
Access
.source§fn is_exclusive(&self) -> bool
fn is_exclusive(&self) -> bool
Returns true if the system must be run exclusively.
source§fn has_deferred(&self) -> bool
fn has_deferred(&self) -> bool
Returns true if system as deferred buffers
source§unsafe fn run_unsafe(
&mut self,
input: <AdapterSystem<Func, S> as System>::In,
world: UnsafeWorldCell<'_>
) -> <AdapterSystem<Func, S> as System>::Out
unsafe fn run_unsafe( &mut self, input: <AdapterSystem<Func, S> as System>::In, world: UnsafeWorldCell<'_> ) -> <AdapterSystem<Func, S> as System>::Out
Runs the system with the given input in the world. Unlike
System::run
, this function
can be called in parallel with other systems and may break Rust’s aliasing rules
if used incorrectly, making it unsafe to call. Read moresource§fn run(
&mut self,
input: <AdapterSystem<Func, S> as System>::In,
world: &mut World
) -> <AdapterSystem<Func, S> as System>::Out
fn run( &mut self, input: <AdapterSystem<Func, S> as System>::In, world: &mut World ) -> <AdapterSystem<Func, S> as System>::Out
Runs the system with the given input in the world. Read more
source§fn apply_deferred(&mut self, world: &mut World)
fn apply_deferred(&mut self, world: &mut World)
source§fn queue_deferred(&mut self, world: DeferredWorld<'_>)
fn queue_deferred(&mut self, world: DeferredWorld<'_>)
Enqueues any
Deferred
system parameters (or other system buffers)
of this system into the world’s command buffer.source§fn initialize(&mut self, world: &mut World)
fn initialize(&mut self, world: &mut World)
Initialize the system.
source§fn update_archetype_component_access(&mut self, world: UnsafeWorldCell<'_>)
fn update_archetype_component_access(&mut self, world: UnsafeWorldCell<'_>)
source§fn check_change_tick(&mut self, change_tick: Tick)
fn check_change_tick(&mut self, change_tick: Tick)
source§fn default_system_sets(&self) -> Vec<Interned<dyn SystemSet>>
fn default_system_sets(&self) -> Vec<Interned<dyn SystemSet>>
Returns the system’s default system sets. Read more
source§fn get_last_run(&self) -> Tick
fn get_last_run(&self) -> Tick
Gets the tick indicating the last time this system ran.
source§fn set_last_run(&mut self, last_run: Tick)
fn set_last_run(&mut self, last_run: Tick)
Overwrites the tick indicating the last time this system ran. Read more