Trait bevy_internal::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 for (F0,)where
F0: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1> ReadOnlyQueryData for (F0, F1)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2> ReadOnlyQueryData for (F0, F1, F2)
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3> ReadOnlyQueryData for (F0, F1, F2, F3)
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4> ReadOnlyQueryData for (F0, F1, F2, F3, F4)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
F10: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
F10: ReadOnlyQueryData,
F11: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)where
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,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)where
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,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyQueryData for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)where
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,
SAFETY: each item in the tuple is read only
impl<T> ReadOnlyQueryData for Option<T>where
T: ReadOnlyQueryData,
SAFETY: [OptionFetch
] is read only because T
is read only
impl<T> ReadOnlyQueryData for &Twhere
T: Component,
SAFETY: access is read only
impl<T> ReadOnlyQueryData for PhantomData<T>where
T: ?Sized,
SAFETY: PhantomData
never accesses any world data.
Implementors§
impl ReadOnlyQueryData for DebugName
SAFETY: we assert fields are readonly below
impl ReadOnlyQueryData for NodeQueryReadOnly
SAFETY: we assert fields are readonly below
impl ReadOnlyQueryData for AnyOf<()>
SAFETY: each item in the tuple is read only
impl ReadOnlyQueryData for Entity
SAFETY: access is read only
impl ReadOnlyQueryData for EntityRef<'_>
SAFETY: access is read only
impl ReadOnlyQueryData for FilteredEntityRef<'_>
SAFETY: Access is read-only.
impl<'__w, T> ReadOnlyQueryData for Ref<'__w, T>where
T: Component,
SAFETY: access is read only
impl<D> ReadOnlyQueryData for NopWorldQuery<D>where
D: QueryData,
SAFETY: NopFetch
never accesses any data
impl<F0> ReadOnlyQueryData for AnyOf<(F0,)>where
F0: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1> ReadOnlyQueryData for AnyOf<(F0, F1)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2> ReadOnlyQueryData for AnyOf<(F0, F1, F2)>
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3)>
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
F10: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>where
F0: ReadOnlyQueryData,
F1: ReadOnlyQueryData,
F2: ReadOnlyQueryData,
F3: ReadOnlyQueryData,
F4: ReadOnlyQueryData,
F5: ReadOnlyQueryData,
F6: ReadOnlyQueryData,
F7: ReadOnlyQueryData,
F8: ReadOnlyQueryData,
F9: ReadOnlyQueryData,
F10: ReadOnlyQueryData,
F11: ReadOnlyQueryData,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>where
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,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>where
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,
SAFETY: each item in the tuple is read only
impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyQueryData for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>where
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,
SAFETY: each item in the tuple is read only
impl<T> ReadOnlyQueryData for Has<T>where
T: Component,
SAFETY: Has
is read only