Trait bevy::ecs::system::SystemParamState
[−]pub unsafe trait SystemParamState: 'static + Send + Sync {
type Config: Send + Sync;
fn init(
world: &mut World,
system_meta: &mut SystemMeta,
config: Self::Config
) -> Self;
fn default_config() -> Self::Config;
fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
) { ... }
fn apply(&mut self, _world: &mut World) { ... }
}
Expand description
The state of a SystemParam
.
Safety
It is the implementor’s responsibility to ensure system_meta
is populated with the exact
World
access used by the SystemParamState
(and associated SystemParamFetch
).
Additionally, it is the implementor’s responsibility to ensure there is no
conflicting access across all SystemParam
’s.
Associated Types
Values of this type can be used to adjust the behavior of the
system parameter. For instance, this can be used to pass
values from a Plugin
to a System
, or to control the
behavior of the System
.
The default configuration of the parameter is set by
SystemParamState::default_config
. To change it, invoke
FunctionSystem::config
when
creating the system.
See FunctionSystem::config
for more information and examples.
Required methods
fn init(
world: &mut World,
system_meta: &mut SystemMeta,
config: Self::Config
) -> Self
fn default_config() -> Self::Config
Provided methods
fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
Implementations on Foreign Types
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5> SystemParamState for (P0, P1, P2, P3, P4, P5) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
impl<P0, P1, P2, P3, P4, P5> SystemParamState for (P0, P1, P2, P3, P4, P5) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
P14: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
P14: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config, <P13 as SystemParamState>::Config, <P14 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config, <P13 as SystemParamState>::Config, <P14 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
P14: SystemParamState,
P15: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
P14: SystemParamState,
P15: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config, <P13 as SystemParamState>::Config, <P14 as SystemParamState>::Config, <P15 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config, <P13 as SystemParamState>::Config, <P14 as SystemParamState>::Config, <P15 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config)
impl<P0, P1> SystemParamState for (P0, P1) where
P0: SystemParamState,
P1: SystemParamState,
impl<P0, P1> SystemParamState for (P0, P1) where
P0: SystemParamState,
P1: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1) as SystemParamState>::Config
) -> (P0, P1)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config)
impl<P0, P1, P2> SystemParamState for (P0, P1, P2) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
impl<P0, P1, P2> SystemParamState for (P0, P1, P2) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2) as SystemParamState>::Config
) -> (P0, P1, P2)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6> SystemParamState for (P0, P1, P2, P3, P4, P5, P6) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6> SystemParamState for (P0, P1, P2, P3, P4, P5, P6) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4> SystemParamState for (P0, P1, P2, P3, P4) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
impl<P0, P1, P2, P3, P4> SystemParamState for (P0, P1, P2, P3, P4) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config)
impl<P0> SystemParamState for (P0,) where
P0: SystemParamState,
impl<P0> SystemParamState for (P0,) where
P0: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config,)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0,) as SystemParamState>::Config
) -> (P0,)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config() -> (<P0 as SystemParamState>::Config,)
impl SystemParamState for ()
impl SystemParamState for ()
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = ()
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <() as SystemParamState>::Config
)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config()
impl<P0, P1, P2, P3> SystemParamState for (P0, P1, P2, P3) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
impl<P0, P1, P2, P3> SystemParamState for (P0, P1, P2, P3) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3) as SystemParamState>::Config
) -> (P0, P1, P2, P3)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls
type Config = (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config)
pub fn init(
_world: &mut World,
_system_meta: &mut SystemMeta,
config: <(P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12) as SystemParamState>::Config
) -> (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)
pub fn new_archetype(
&mut self,
_archetype: &Archetype,
_system_meta: &mut SystemMeta
)
pub fn apply(&mut self, _world: &mut World)
pub fn default_config(
) -> (<P0 as SystemParamState>::Config, <P1 as SystemParamState>::Config, <P2 as SystemParamState>::Config, <P3 as SystemParamState>::Config, <P4 as SystemParamState>::Config, <P5 as SystemParamState>::Config, <P6 as SystemParamState>::Config, <P7 as SystemParamState>::Config, <P8 as SystemParamState>::Config, <P9 as SystemParamState>::Config, <P10 as SystemParamState>::Config, <P11 as SystemParamState>::Config, <P12 as SystemParamState>::Config)
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> SystemParamState for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13) where
P0: SystemParamState,
P1: SystemParamState,
P2: SystemParamState,
P3: SystemParamState,
P4: SystemParamState,
P5: SystemParamState,
P6: SystemParamState,
P7: SystemParamState,
P8: SystemParamState,
P9: SystemParamState,
P10: SystemParamState,
P11: SystemParamState,
P12: SystemParamState,
P13: SystemParamState,
SAFE: implementors of each SystemParamState
in the tuple have validated their impls