bevy_ecs::system

Trait ExclusiveSystemParam

Source
pub trait ExclusiveSystemParam: Sized {
    type State: Send + Sync + 'static;
    type Item<'s>: ExclusiveSystemParam<State = Self::State>;

    // Required methods
    fn init(world: &mut World, system_meta: &mut SystemMeta) -> Self::State;
    fn get_param<'s>(
        state: &'s mut Self::State,
        system_meta: &SystemMeta,
    ) -> Self::Item<'s>;
}
Expand description

A parameter that can be used in an exclusive system (a system with an &mut World parameter). Any parameters implementing this trait must come after the &mut World parameter.

Required Associated Types§

Source

type State: Send + Sync + 'static

Used to store data which persists across invocations of a system.

Source

type Item<'s>: ExclusiveSystemParam<State = Self::State>

The item type returned when constructing this system param. See SystemParam::Item.

Required Methods§

Source

fn init(world: &mut World, system_meta: &mut SystemMeta) -> Self::State

Creates a new instance of this param’s State.

Source

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Creates a parameter to be passed into an ExclusiveSystemParamFunction.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ExclusiveSystemParam for ()

Source§

type State = ()

Source§

type Item<'s> = ()

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam> ExclusiveSystemParam for (P0,)

Source§

type State = (<P0 as ExclusiveSystemParam>::State,)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>,)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam, P11: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State, <P11 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>, <P11 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam, P11: ExclusiveSystemParam, P12: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State, <P11 as ExclusiveSystemParam>::State, <P12 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>, <P11 as ExclusiveSystemParam>::Item<'s>, <P12 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam, P11: ExclusiveSystemParam, P12: ExclusiveSystemParam, P13: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State, <P11 as ExclusiveSystemParam>::State, <P12 as ExclusiveSystemParam>::State, <P13 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>, <P11 as ExclusiveSystemParam>::Item<'s>, <P12 as ExclusiveSystemParam>::Item<'s>, <P13 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam, P11: ExclusiveSystemParam, P12: ExclusiveSystemParam, P13: ExclusiveSystemParam, P14: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State, <P11 as ExclusiveSystemParam>::State, <P12 as ExclusiveSystemParam>::State, <P13 as ExclusiveSystemParam>::State, <P14 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>, <P11 as ExclusiveSystemParam>::Item<'s>, <P12 as ExclusiveSystemParam>::Item<'s>, <P13 as ExclusiveSystemParam>::Item<'s>, <P14 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<P0: ExclusiveSystemParam, P1: ExclusiveSystemParam, P2: ExclusiveSystemParam, P3: ExclusiveSystemParam, P4: ExclusiveSystemParam, P5: ExclusiveSystemParam, P6: ExclusiveSystemParam, P7: ExclusiveSystemParam, P8: ExclusiveSystemParam, P9: ExclusiveSystemParam, P10: ExclusiveSystemParam, P11: ExclusiveSystemParam, P12: ExclusiveSystemParam, P13: ExclusiveSystemParam, P14: ExclusiveSystemParam, P15: ExclusiveSystemParam> ExclusiveSystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)

Source§

type State = (<P0 as ExclusiveSystemParam>::State, <P1 as ExclusiveSystemParam>::State, <P2 as ExclusiveSystemParam>::State, <P3 as ExclusiveSystemParam>::State, <P4 as ExclusiveSystemParam>::State, <P5 as ExclusiveSystemParam>::State, <P6 as ExclusiveSystemParam>::State, <P7 as ExclusiveSystemParam>::State, <P8 as ExclusiveSystemParam>::State, <P9 as ExclusiveSystemParam>::State, <P10 as ExclusiveSystemParam>::State, <P11 as ExclusiveSystemParam>::State, <P12 as ExclusiveSystemParam>::State, <P13 as ExclusiveSystemParam>::State, <P14 as ExclusiveSystemParam>::State, <P15 as ExclusiveSystemParam>::State)

Source§

type Item<'s> = (<P0 as ExclusiveSystemParam>::Item<'s>, <P1 as ExclusiveSystemParam>::Item<'s>, <P2 as ExclusiveSystemParam>::Item<'s>, <P3 as ExclusiveSystemParam>::Item<'s>, <P4 as ExclusiveSystemParam>::Item<'s>, <P5 as ExclusiveSystemParam>::Item<'s>, <P6 as ExclusiveSystemParam>::Item<'s>, <P7 as ExclusiveSystemParam>::Item<'s>, <P8 as ExclusiveSystemParam>::Item<'s>, <P9 as ExclusiveSystemParam>::Item<'s>, <P10 as ExclusiveSystemParam>::Item<'s>, <P11 as ExclusiveSystemParam>::Item<'s>, <P12 as ExclusiveSystemParam>::Item<'s>, <P13 as ExclusiveSystemParam>::Item<'s>, <P14 as ExclusiveSystemParam>::Item<'s>, <P15 as ExclusiveSystemParam>::Item<'s>)

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( state: &'s mut Self::State, system_meta: &SystemMeta, ) -> Self::Item<'s>

Source§

impl<S: ?Sized> ExclusiveSystemParam for PhantomData<S>

Source§

type State = ()

Source§

type Item<'s> = PhantomData<S>

Source§

fn init(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State

Source§

fn get_param<'s>( _state: &'s mut Self::State, _system_meta: &SystemMeta, ) -> Self::Item<'s>

Implementors§

Source§

impl ExclusiveSystemParam for WorldId

Source§

impl ExclusiveSystemParam for SystemName<'_>

Source§

type State = Cow<'static, str>

Source§

type Item<'s> = SystemName<'s>

Source§

impl<'_s, T: FromWorld + Send + 'static> ExclusiveSystemParam for Local<'_s, T>

Source§

type State = SyncCell<T>

Source§

type Item<'s> = Local<'s, T>

Source§

impl<'a, D: QueryData + 'static, F: QueryFilter + 'static> ExclusiveSystemParam for &'a mut QueryState<D, F>

Source§

type State = QueryState<D, F>

Source§

type Item<'s> = &'s mut QueryState<D, F>

Source§

impl<'a, P: SystemParam + 'static> ExclusiveSystemParam for &'a mut SystemState<P>

Source§

type State = SystemState<P>

Source§

type Item<'s> = &'s mut SystemState<P>