Trait bevy_ecs::query::ReadOnlyQueryData
source · pub unsafe trait ReadOnlyQueryData: QueryData<ReadOnly = Self> { }
Expand description
Object Safety§
Implementations on Foreign Types§
impl ReadOnlyQueryData for ()
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData> ReadOnlyQueryData for (F0,)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData, F13: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData, F13: ReadOnlyQueryData, F14: ReadOnlyQueryData> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)
SAFETY: each item in the tuple is read only
impl<T: Component> ReadOnlyQueryData for &T
SAFETY: access is read only
impl<T: ReadOnlyQueryData> ReadOnlyQueryData for Option<T>
SAFETY: [OptionFetch
] is read only because T
is read only
impl<T: ?Sized> ReadOnlyQueryData for PhantomData<T>
SAFETY: PhantomData
never accesses any world data.
Implementors§
impl ReadOnlyQueryData for &Archetype
SAFETY: access is read only
impl ReadOnlyQueryData for Entity
SAFETY: access is read only
impl ReadOnlyQueryData for EntityLocation
SAFETY: access is read only
impl ReadOnlyQueryData for EntityRef<'_>
SAFETY: access is read only
impl ReadOnlyQueryData for FilteredEntityRef<'_>
SAFETY: Access is read-only.
impl ReadOnlyQueryData for AnyOf<()>
SAFETY: each item in the tuple is read only
impl<'__w, T: Component> ReadOnlyQueryData for Ref<'__w, T>
SAFETY: access is read only
impl<F0: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0,)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData, F13: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyQueryData, F1: ReadOnlyQueryData, F2: ReadOnlyQueryData, F3: ReadOnlyQueryData, F4: ReadOnlyQueryData, F5: ReadOnlyQueryData, F6: ReadOnlyQueryData, F7: ReadOnlyQueryData, F8: ReadOnlyQueryData, F9: ReadOnlyQueryData, F10: ReadOnlyQueryData, F11: ReadOnlyQueryData, F12: ReadOnlyQueryData, F13: ReadOnlyQueryData, F14: ReadOnlyQueryData> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>
SAFETY: each item in the tuple is read only
impl<T: Component> ReadOnlyQueryData for Has<T>
SAFETY: Has
is read only