Trait bevy_ecs::query::ReadOnlyFetch
source · [−]pub unsafe trait ReadOnlyFetch { }
Expand description
Implementations on Foreign Types
impl ReadOnlyFetch for ()
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch> ReadOnlyFetch for (F0,)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch> ReadOnlyFetch for (F0, F1)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6, F7)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch, F10: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch, F10: ReadOnlyFetch, F11: ReadOnlyFetch> ReadOnlyFetch for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)
SAFETY: each item in the tuple is read only
impl<F0: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch, F10: ReadOnlyFetch, F11: ReadOnlyFetch, F12: ReadOnlyFetch> ReadOnlyFetch 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: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch, F10: ReadOnlyFetch, F11: ReadOnlyFetch, F12: ReadOnlyFetch, F13: ReadOnlyFetch> ReadOnlyFetch 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: ReadOnlyFetch, F1: ReadOnlyFetch, F2: ReadOnlyFetch, F3: ReadOnlyFetch, F4: ReadOnlyFetch, F5: ReadOnlyFetch, F6: ReadOnlyFetch, F7: ReadOnlyFetch, F8: ReadOnlyFetch, F9: ReadOnlyFetch, F10: ReadOnlyFetch, F11: ReadOnlyFetch, F12: ReadOnlyFetch, F13: ReadOnlyFetch, F14: ReadOnlyFetch> ReadOnlyFetch 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
Implementors
impl ReadOnlyFetch for EntityFetch
SAFETY: access is read only
impl ReadOnlyFetch for Or<()>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>,)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch, F10: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>, OrFetch<F10>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch, F10: FilterFetch + ReadOnlyFetch, F11: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>, OrFetch<F10>, OrFetch<F11>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch, F10: FilterFetch + ReadOnlyFetch, F11: FilterFetch + ReadOnlyFetch, F12: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>, OrFetch<F10>, OrFetch<F11>, OrFetch<F12>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch, F10: FilterFetch + ReadOnlyFetch, F11: FilterFetch + ReadOnlyFetch, F12: FilterFetch + ReadOnlyFetch, F13: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>, OrFetch<F10>, OrFetch<F11>, OrFetch<F12>, OrFetch<F13>)>
SAFETY: this only works using the filter which doesn’t write
impl<F0: FilterFetch + ReadOnlyFetch, F1: FilterFetch + ReadOnlyFetch, F2: FilterFetch + ReadOnlyFetch, F3: FilterFetch + ReadOnlyFetch, F4: FilterFetch + ReadOnlyFetch, F5: FilterFetch + ReadOnlyFetch, F6: FilterFetch + ReadOnlyFetch, F7: FilterFetch + ReadOnlyFetch, F8: FilterFetch + ReadOnlyFetch, F9: FilterFetch + ReadOnlyFetch, F10: FilterFetch + ReadOnlyFetch, F11: FilterFetch + ReadOnlyFetch, F12: FilterFetch + ReadOnlyFetch, F13: FilterFetch + ReadOnlyFetch, F14: FilterFetch + ReadOnlyFetch> ReadOnlyFetch for Or<(OrFetch<F0>, OrFetch<F1>, OrFetch<F2>, OrFetch<F3>, OrFetch<F4>, OrFetch<F5>, OrFetch<F6>, OrFetch<F7>, OrFetch<F8>, OrFetch<F9>, OrFetch<F10>, OrFetch<F11>, OrFetch<F12>, OrFetch<F13>, OrFetch<F14>)>
SAFETY: this only works using the filter which doesn’t write
impl<T> ReadOnlyFetch for ChangeTrackersFetch<T>
SAFETY: access is read only
impl<T> ReadOnlyFetch for ReadFetch<T>
SAFETY: access is read only
impl<T> ReadOnlyFetch for ReadOnlyWriteFetch<T>
SAFETY: access is read only
impl<T> ReadOnlyFetch for WithFetch<T>
impl<T> ReadOnlyFetch for WithoutFetch<T>
impl<T: Component> ReadOnlyFetch for AddedFetch<T>
SAFETY: read-only access
impl<T: Component> ReadOnlyFetch for ChangedFetch<T>
SAFETY: read-only access
impl<T: ReadOnlyFetch> ReadOnlyFetch for OptionFetch<T>
SAFETY: OptionFetch
is read only because T
is read only