Skip to main content

ReadOnlyWorldQuery

Trait ReadOnlyWorldQuery 

Source
pub unsafe trait ReadOnlyWorldQuery: WorldQuery<ReadOnly = Self> { }
Expand description

A world query that is read only.

§Safety

This must only be implemented for read-only WorldQuery’s.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ReadOnlyWorldQuery for ()

SAFETY: each item in the tuple is read only

Source§

impl<F0> ReadOnlyWorldQuery for (F0,)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1> ReadOnlyWorldQuery for (F0, F1)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2> ReadOnlyWorldQuery for (F0, F1, F2)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3> ReadOnlyWorldQuery for (F0, F1, F2, F3)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyWorldQuery for (F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyWorldQuery 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

Source§

impl<T> ReadOnlyWorldQuery for Option<T>

SAFETY: [OptionFetch] is read only because T is read only

Source§

impl<T> ReadOnlyWorldQuery for &T
where T: Component,

SAFETY: access is read only

Implementors§

Source§

impl ReadOnlyWorldQuery for Entity

SAFETY: access is read only

Source§

impl ReadOnlyWorldQuery for AnyOf<()>

SAFETY: each item in the tuple is read only

Source§

impl ReadOnlyWorldQuery for Or<()>

Source§

impl<F0> ReadOnlyWorldQuery for AnyOf<(F0,)>

SAFETY: each item in the tuple is read only

Source§

impl<F0> ReadOnlyWorldQuery for Or<(F0,)>

Source§

impl<F0, F1> ReadOnlyWorldQuery for AnyOf<(F0, F1)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1> ReadOnlyWorldQuery for Or<(F0, F1)>

Source§

impl<F0, F1, F2> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2> ReadOnlyWorldQuery for Or<(F0, F1, F2)>

Source§

impl<F0, F1, F2, F3> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3)>

Source§

impl<F0, F1, F2, F3, F4> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4)>

Source§

impl<F0, F1, F2, F3, F4, F5> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyWorldQuery for AnyOf<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

SAFETY: each item in the tuple is read only

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyWorldQuery 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

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13)>

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyWorldQuery 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

Source§

impl<F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14> ReadOnlyWorldQuery for Or<(F0, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14)>

Source§

impl<Q> ReadOnlyWorldQuery for NopWorldQuery<Q>
where Q: WorldQuery,

SAFETY: NopFetch never accesses any data

Source§

impl<T> ReadOnlyWorldQuery for Added<T>
where T: Component,

SAFETY: read-only access

Source§

impl<T> ReadOnlyWorldQuery for ChangeTrackers<T>
where T: Component,

SAFETY: access is read only

Source§

impl<T> ReadOnlyWorldQuery for Changed<T>
where T: Component,

SAFETY: read-only access

Source§

impl<T> ReadOnlyWorldQuery for With<T>
where T: Component,

Source§

impl<T> ReadOnlyWorldQuery for Without<T>
where T: Component,