Trait bevy::ecs::system::ReadOnlySystemParam
source · 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§
impl ReadOnlySystemParam for ()
impl<'a, T> ReadOnlySystemParam for Option<Res<'a, T>>where
T: Resource,
impl<P0> ReadOnlySystemParam for (P0,)where
P0: ReadOnlySystemParam,
impl<P0, P1> ReadOnlySystemParam for (P0, P1)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
impl<P0, P1, P2> ReadOnlySystemParam for (P0, P1, P2)
impl<P0, P1, P2, P3> ReadOnlySystemParam for (P0, P1, P2, P3)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4> ReadOnlySystemParam for (P0, P1, P2, P3, P4)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
P7: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
P7: ReadOnlySystemParam,
P8: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
P7: ReadOnlySystemParam,
P8: ReadOnlySystemParam,
P9: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
P7: ReadOnlySystemParam,
P8: ReadOnlySystemParam,
P9: ReadOnlySystemParam,
P10: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)where
P0: ReadOnlySystemParam,
P1: ReadOnlySystemParam,
P2: ReadOnlySystemParam,
P3: ReadOnlySystemParam,
P4: ReadOnlySystemParam,
P5: ReadOnlySystemParam,
P6: ReadOnlySystemParam,
P7: ReadOnlySystemParam,
P8: ReadOnlySystemParam,
P9: ReadOnlySystemParam,
P10: ReadOnlySystemParam,
P11: ReadOnlySystemParam,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)where
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,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)where
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,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)where
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,
impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)where
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,
impl<T> ReadOnlySystemParam for Option<NonSend<'_, T>>where
T: 'static,
impl<T> ReadOnlySystemParam for PhantomData<T>where
T: ?Sized,
Implementors§
impl ReadOnlySystemParam for WorldId
impl ReadOnlySystemParam for SystemChangeTick
impl<'a> ReadOnlySystemParam for &'a Archetypes
impl<'a> ReadOnlySystemParam for &'a Bundles
impl<'a> ReadOnlySystemParam for &'a Components
impl<'a> ReadOnlySystemParam for &'a Entities
impl<'a> ReadOnlySystemParam for &'a RemovedComponentEvents
impl<'a, T> ReadOnlySystemParam for Res<'a, T>where
T: Resource,
impl<'s> ReadOnlySystemParam for SystemName<'s>
impl<'s, T> ReadOnlySystemParam for Local<'s, T>
impl<'w> ReadOnlySystemParam for &'w World
SAFETY: only reads world