pub unsafe trait ReadOnlySystemParam: SystemParam { }
Expand description

A SystemParam that only reads a given World.

Safety

This must only be implemented for SystemParam impls that exclusively read the World passed in to SystemParam::get_param

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ReadOnlySystemParam for ()

source§

impl<'a, T: Resource> ReadOnlySystemParam for Option<Res<'a, T>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T: 'static> ReadOnlySystemParam for Option<NonSend<'_, T>>

source§

impl<T: ?Sized> ReadOnlySystemParam for PhantomData<T>

Implementors§

source§

impl ReadOnlySystemParam for WorldId

source§

impl ReadOnlySystemParam for SystemChangeTick

source§

impl<'a> ReadOnlySystemParam for &'a Archetypes

source§

impl<'a> ReadOnlySystemParam for &'a Bundles

source§

impl<'a> ReadOnlySystemParam for &'a Components

source§

impl<'a> ReadOnlySystemParam for &'a Entities

source§

impl<'a> ReadOnlySystemParam for &'a RemovedComponentEvents

source§

impl<'a, T: Resource> ReadOnlySystemParam for Res<'a, T>

source§

impl<'s> ReadOnlySystemParam for SystemName<'s>

source§

impl<'s, T: FromWorld + Send + 'static> ReadOnlySystemParam for Local<'s, T>

source§

impl<'w> ReadOnlySystemParam for &'w World

SAFETY: only reads world

source§

impl<'w, 's> ReadOnlySystemParam for Commands<'w, 's>

source§

impl<'w, 's> ReadOnlySystemParam for ParallelCommands<'w, 's>
where Deferred<'s, ParallelCommandQueue>: ReadOnlySystemParam, &'w Entities: ReadOnlySystemParam,

source§

impl<'w, 's, D: ReadOnlyQueryData + 'static, F: QueryFilter + 'static> ReadOnlySystemParam for Query<'w, 's, D, F>

source§

impl<'w, 's, E: Event> ReadOnlySystemParam for EventReader<'w, 's, E>

source§

impl<'w, 's, E: Event> ReadOnlySystemParam for EventWriter<'w, E>

source§

impl<'w, 's, P0> ReadOnlySystemParam for ParamSet<'w, 's, (P0,)>

source§

impl<'w, 's, P0, P1> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1)>

source§

impl<'w, 's, P0, P1, P2> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2)>

source§

impl<'w, 's, P0, P1, P2, P3> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3)>

source§

impl<'w, 's, P0, P1, P2, P3, P4> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4)>

source§

impl<'w, 's, P0, P1, P2, P3, P4, P5> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>

source§

impl<'w, 's, P0, P1, P2, P3, P4, P5, P6> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>

source§

impl<'w, 's, P0, P1, P2, P3, P4, P5, P6, P7> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>

source§

impl<'w, 's, P: ReadOnlySystemParam + 'static> ReadOnlySystemParam for StaticSystemParam<'w, 's, P>

source§

impl<'w, 's, T: Component> ReadOnlySystemParam for ComponentIdFor<'s, T>
where Local<'s, InitComponentId<T>>: ReadOnlySystemParam,

source§

impl<'w, 's, T: Component> ReadOnlySystemParam for RemovedComponents<'w, 's, T>

source§

impl<'w, T> ReadOnlySystemParam for NonSend<'w, T>

source§

impl<T: SystemBuffer> ReadOnlySystemParam for Deferred<'_, T>