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: Resource> ReadOnlySystemParam for Option<Res<'a, T>>
impl<P0: ReadOnlySystemParam> ReadOnlySystemParam for (P0,)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam, P2: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1, P2)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam, P2: ReadOnlySystemParam, P3: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1, P2, P3)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam, P2: ReadOnlySystemParam, P3: ReadOnlySystemParam, P4: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1, P2, P3, P4)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam, P2: ReadOnlySystemParam, P3: ReadOnlySystemParam, P4: ReadOnlySystemParam, P5: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5)
impl<P0: ReadOnlySystemParam, P1: ReadOnlySystemParam, P2: ReadOnlySystemParam, P3: ReadOnlySystemParam, P4: ReadOnlySystemParam, P5: ReadOnlySystemParam, P6: ReadOnlySystemParam> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6)
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)
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)
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)
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)
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)
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)
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)
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)
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)
impl<T: 'static> ReadOnlySystemParam for Option<NonSend<'_, T>>
impl<T: ?Sized> ReadOnlySystemParam for PhantomData<T>
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: Resource> ReadOnlySystemParam for Res<'a, T>
impl<'s> ReadOnlySystemParam for SystemName<'s>
impl<'s, T: FromWorld + Send + 'static> ReadOnlySystemParam for Local<'s, T>
impl<'w> ReadOnlySystemParam for &'w World
SAFETY: only reads world