ReadOnlySystemParam

Trait 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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ReadOnlySystemParam for ()

Source§

impl<'w, 's> ReadOnlySystemParam for DirectionalNavigation<'w>

Source§

impl<'w, 's> ReadOnlySystemParam for IsFocusedHelper<'w, 's>

Source§

impl<P0, P1> ReadOnlySystemParam for (P0, P1)

Source§

impl<P0, P1, P2> ReadOnlySystemParam for (P0, P1, P2)

Source§

impl<P0, P1, P2, P3> ReadOnlySystemParam for (P0, P1, P2, P3)

Source§

impl<P0, P1, P2, P3, P4> ReadOnlySystemParam for (P0, P1, P2, P3, P4)

Source§

impl<P0, P1, P2, P3, P4, P5> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5)

Source§

impl<P0, P1, P2, P3, P4, P5, P6> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14)

Source§

impl<P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15> ReadOnlySystemParam for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15)

Source§

impl<P> ReadOnlySystemParam for (P,)

Source§

impl<T> ReadOnlySystemParam for Option<T>

Source§

impl<T> ReadOnlySystemParam for Result<T, SystemParamValidationError>

Source§

impl<T> ReadOnlySystemParam for PhantomData<T>
where T: ?Sized,

Implementors§

Source§

impl ReadOnlySystemParam for FilteredResources<'_, '_>

Source§

impl ReadOnlySystemParam for WorldId

Source§

impl ReadOnlySystemParam for NonSendMarker

Source§

impl ReadOnlySystemParam for SystemChangeTick

Source§

impl ReadOnlySystemParam for SystemName

Source§

impl<'a> ReadOnlySystemParam for &'a Archetypes

Source§

impl<'a> ReadOnlySystemParam for &'a Bundles

Source§

impl<'a> ReadOnlySystemParam for &'a Components

Source§

impl<'a> ReadOnlySystemParam for &'a Entities

Source§

impl<'a> ReadOnlySystemParam for &'a RemovedComponentMessages

Source§

impl<'a, 'b, D, F> ReadOnlySystemParam for Single<'a, 'b, D, F>
where D: ReadOnlyQueryData + 'static, F: QueryFilter + 'static,

Source§

impl<'a, T> ReadOnlySystemParam for Res<'a, T>
where T: Resource,

Source§

impl<'s, T> ReadOnlySystemParam for Local<'s, T>
where T: FromWorld + Send + 'static,

Source§

impl<'w> ReadOnlySystemParam for &'w World

SAFETY: only reads world

Source§

impl<'w, 's> ReadOnlySystemParam for Diagnostics<'w, 's>

Source§

impl<'w, 's> ReadOnlySystemParam for Commands<'w, 's>

Source§

impl<'w, 's> ReadOnlySystemParam for DefaultUiCamera<'w, 's>

Source§

impl<'w, 's> ReadOnlySystemParam for ParallelCommands<'w, 's>
where Deferred<'s, ParallelCommandQueue>: ReadOnlySystemParam, &'w Entities: ReadOnlySystemParam,

Source§

impl<'w, 's> ReadOnlySystemParam for PickingMessageWriters<'w>

Source§

impl<'w, 's> ReadOnlySystemParam for TransformHelper<'w, 's>
where Query<'w, 's, &'static ChildOf>: ReadOnlySystemParam, Query<'w, 's, &'static Transform>: ReadOnlySystemParam,

Source§

impl<'w, 's> ReadOnlySystemParam for FallbackImageMsaa<'w>

Source§

impl<'w, 's> ReadOnlySystemParam for UiChildren<'w, 's>

Source§

impl<'w, 's, D, F> ReadOnlySystemParam for Populated<'w, 's, D, F>
where D: ReadOnlyQueryData + 'static, F: QueryFilter + 'static,

Source§

impl<'w, 's, D, F> ReadOnlySystemParam for Query<'w, 's, D, F>
where D: ReadOnlyQueryData + 'static, F: QueryFilter + 'static,

Source§

impl<'w, 's, E> ReadOnlySystemParam for MessageMutator<'w, 's, E>

Source§

impl<'w, 's, E> ReadOnlySystemParam for MessageReader<'w, 's, E>

Source§

impl<'w, 's, E> ReadOnlySystemParam for MessageWriter<'w, E>

Source§

impl<'w, 's, P0> ReadOnlySystemParam for ParamSet<'w, 's, (P0,)>

Source§

impl<'w, 's, P0, P1> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1)>

Source§

impl<'w, 's, P0, P1, P2> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2)>

Source§

impl<'w, 's, P0, P1, P2, P3> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3)>

Source§

impl<'w, 's, P0, P1, P2, P3, P4> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4)>

Source§

impl<'w, 's, P0, P1, P2, P3, P4, P5> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>

Source§

impl<'w, 's, P0, P1, P2, P3, P4, P5, P6> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>

Source§

impl<'w, 's, P0, P1, P2, P3, P4, P5, P6, P7> ReadOnlySystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>

Source§

impl<'w, 's, P> ReadOnlySystemParam for StaticSystemParam<'w, 's, P>
where P: ReadOnlySystemParam + 'static,

Source§

impl<'w, 's, R> ReadOnlySystemParam for TextReader<'w, 's, R>
where R: TextRoot, Local<'s, TextIterScratch>: ReadOnlySystemParam, Query<'w, 's, (&'static R, &'static TextFont, &'static TextColor, Option<&'static Children>)>: ReadOnlySystemParam, Query<'w, 's, (&'static TextSpan, &'static TextFont, &'static TextColor, Option<&'static Children>)>: ReadOnlySystemParam,

Source§

impl<'w, 's, R> ReadOnlySystemParam for TextWriter<'w, 's, R>
where R: TextRoot, ResMut<'w, TextIterScratch>: ReadOnlySystemParam, Query<'w, 's, (&'static mut R, &'static mut TextFont, &'static mut TextColor), Without<TextSpan>>: ReadOnlySystemParam, Query<'w, 's, (&'static mut TextSpan, &'static mut TextFont, &'static mut TextColor), Without<R>>: ReadOnlySystemParam, Query<'w, 's, &'static Children>: ReadOnlySystemParam,

Source§

impl<'w, 's, T> ReadOnlySystemParam for RemovedComponents<'w, 's, T>

Source§

impl<'w, 's, T> ReadOnlySystemParam for ComponentIdFor<'s, T>
where T: Component, Local<'s, InitComponentId<T>>: ReadOnlySystemParam,

Source§

impl<'w, T> ReadOnlySystemParam for NonSend<'w, T>

Source§

impl<P> ReadOnlySystemParam for Extract<'_, '_, P>

Source§

impl<T> ReadOnlySystemParam for Deferred<'_, T>
where T: SystemBuffer,

Source§

impl<T> ReadOnlySystemParam for If<T>