Trait bevy_ecs::system::BuildableSystemParam
source · pub trait BuildableSystemParam: SystemParam {
type Builder<'b>;
// Required method
fn build(
world: &mut World,
meta: &mut SystemMeta,
func: impl FnOnce(&mut Self::Builder<'_>)
) -> Self::State;
}
Expand description
A parameter that can be built with SystemBuilder
Required Associated Types§
Required Methods§
sourcefn build(
world: &mut World,
meta: &mut SystemMeta,
func: impl FnOnce(&mut Self::Builder<'_>)
) -> Self::State
fn build( world: &mut World, meta: &mut SystemMeta, func: impl FnOnce(&mut Self::Builder<'_>) ) -> Self::State
Constructs SystemParam::State
for Self
using a given builder function
Object Safety§
This trait is not object safe.