@@ -181,6 +181,7 @@ pub struct QuerySet<'w, 's, T> {
181181 change_tick : u32 ,
182182}
183183
184+ #[ doc( hidden) ]
184185pub struct QuerySetState < T > ( T ) ;
185186
186187impl_query_set ! ( ) ;
@@ -265,6 +266,7 @@ impl<'w, T: Resource> From<ResMut<'w, T>> for Res<'w, T> {
265266}
266267
267268/// The [`SystemParamState`] of [`Res<T>`].
269+ #[ doc( hidden) ]
268270pub struct ResState < T > {
269271 component_id : ComponentId ,
270272 marker : PhantomData < T > ,
@@ -332,6 +334,7 @@ impl<'w, 's, T: Resource> SystemParamFetch<'w, 's> for ResState<T> {
332334
333335/// The [`SystemParamState`] of [`Option<Res<T>>`].
334336/// See: [`Res<T>`]
337+ #[ doc( hidden) ]
335338pub struct OptionResState < T > ( ResState < T > ) ;
336339
337340impl < ' a , T : Resource > SystemParam for Option < Res < ' a , T > > {
@@ -369,6 +372,7 @@ impl<'w, 's, T: Resource> SystemParamFetch<'w, 's> for OptionResState<T> {
369372}
370373
371374/// The [`SystemParamState`] of [`ResMut<T>`].
375+ #[ doc( hidden) ]
372376pub struct ResMutState < T > {
373377 component_id : ComponentId ,
374378 marker : PhantomData < T > ,
@@ -441,6 +445,7 @@ impl<'w, 's, T: Resource> SystemParamFetch<'w, 's> for ResMutState<T> {
441445
442446/// The [`SystemParamState`] of [`Option<ResMut<T>>`].
443447/// See: [`ResMut<T>`]
448+ #[ doc( hidden) ]
444449pub struct OptionResMutState < T > ( ResMutState < T > ) ;
445450
446451impl < ' a , T : Resource > SystemParam for Option < ResMut < ' a , T > > {
@@ -512,6 +517,7 @@ impl<'w, 's> SystemParamFetch<'w, 's> for CommandQueue {
512517unsafe impl ReadOnlySystemParamFetch for WorldState { }
513518
514519/// The [`SystemParamState`] of [`&World`](crate::world::World).
520+ #[ doc( hidden) ]
515521pub struct WorldState ;
516522
517523impl < ' w , ' s > SystemParam for & ' w World {
@@ -631,6 +637,7 @@ impl<'a, T: Resource> DerefMut for Local<'a, T> {
631637}
632638
633639/// The [`SystemParamState`] of [`Local<T>`].
640+ #[ doc( hidden) ]
634641pub struct LocalState < T : Resource > ( T ) ;
635642
636643impl < ' a , T : Resource + FromWorld > SystemParam for Local < ' a , T > {
@@ -707,6 +714,7 @@ impl<'a, T: Component> RemovedComponents<'a, T> {
707714unsafe impl < T : Component > ReadOnlySystemParamFetch for RemovedComponentsState < T > { }
708715
709716/// The [`SystemParamState`] of [`RemovedComponents<T>`].
717+ #[ doc( hidden) ]
710718pub struct RemovedComponentsState < T > {
711719 component_id : ComponentId ,
712720 marker : PhantomData < T > ,
@@ -810,6 +818,7 @@ impl<'a, T> From<NonSendMut<'a, T>> for NonSend<'a, T> {
810818}
811819
812820/// The [`SystemParamState`] of [`NonSend<T>`].
821+ #[ doc( hidden) ]
813822pub struct NonSendState < T > {
814823 component_id : ComponentId ,
815824 marker : PhantomData < fn ( ) -> T > ,
@@ -881,6 +890,7 @@ impl<'w, 's, T: 'static> SystemParamFetch<'w, 's> for NonSendState<T> {
881890
882891/// The [`SystemParamState`] of [`Option<NonSend<T>>`].
883892/// See: [`NonSend<T>`]
893+ #[ doc( hidden) ]
884894pub struct OptionNonSendState < T > ( NonSendState < T > ) ;
885895
886896impl < ' w , T : ' static > SystemParam for Option < NonSend < ' w , T > > {
@@ -919,6 +929,7 @@ impl<'w, 's, T: 'static> SystemParamFetch<'w, 's> for OptionNonSendState<T> {
919929}
920930
921931/// The [`SystemParamState`] of [`NonSendMut<T>`].
932+ #[ doc( hidden) ]
922933pub struct NonSendMutState < T > {
923934 component_id : ComponentId ,
924935 marker : PhantomData < fn ( ) -> T > ,
@@ -994,6 +1005,7 @@ impl<'w, 's, T: 'static> SystemParamFetch<'w, 's> for NonSendMutState<T> {
9941005
9951006/// The [`SystemParamState`] of [`Option<NonSendMut<T>>`].
9961007/// See: [`NonSendMut<T>`]
1008+ #[ doc( hidden) ]
9971009pub struct OptionNonSendMutState < T > ( NonSendMutState < T > ) ;
9981010
9991011impl < ' a , T : ' static > SystemParam for Option < NonSendMut < ' a , T > > {
@@ -1038,6 +1050,7 @@ impl<'a> SystemParam for &'a Archetypes {
10381050unsafe impl ReadOnlySystemParamFetch for ArchetypesState { }
10391051
10401052/// The [`SystemParamState`] of [`Archetypes`].
1053+ #[ doc( hidden) ]
10411054pub struct ArchetypesState ;
10421055
10431056// SAFE: no component value access
@@ -1069,6 +1082,7 @@ impl<'a> SystemParam for &'a Components {
10691082unsafe impl ReadOnlySystemParamFetch for ComponentsState { }
10701083
10711084/// The [`SystemParamState`] of [`Components`].
1085+ #[ doc( hidden) ]
10721086pub struct ComponentsState ;
10731087
10741088// SAFE: no component value access
@@ -1100,6 +1114,7 @@ impl<'a> SystemParam for &'a Entities {
11001114unsafe impl ReadOnlySystemParamFetch for EntitiesState { }
11011115
11021116/// The [`SystemParamState`] of [`Entities`].
1117+ #[ doc( hidden) ]
11031118pub struct EntitiesState ;
11041119
11051120// SAFE: no component value access
@@ -1131,6 +1146,7 @@ impl<'a> SystemParam for &'a Bundles {
11311146unsafe impl ReadOnlySystemParamFetch for BundlesState { }
11321147
11331148/// The [`SystemParamState`] of [`Bundles`].
1149+ #[ doc( hidden) ]
11341150pub struct BundlesState ;
11351151
11361152// SAFE: no component value access
@@ -1154,6 +1170,7 @@ impl<'w, 's> SystemParamFetch<'w, 's> for BundlesState {
11541170 }
11551171}
11561172
1173+ /// The [`SystemParamState`] of [`SystemChangeTick`].
11571174#[ derive( Debug ) ]
11581175pub struct SystemChangeTick {
11591176 pub last_change_tick : u32 ,
@@ -1168,6 +1185,7 @@ impl SystemParam for SystemChangeTick {
11681185}
11691186
11701187/// The [`SystemParamState`] of [`SystemChangeTick`].
1188+ #[ doc( hidden) ]
11711189pub struct SystemChangeTickState { }
11721190
11731191unsafe impl SystemParamState for SystemChangeTickState {
@@ -1330,7 +1348,8 @@ impl<'w, 's, P: SystemParam> StaticSystemParam<'w, 's, P> {
13301348 }
13311349}
13321350
1333- /// The [`SystemParamState`] of [`SystemChangeTick`].
1351+ /// The [`SystemParamState`] of [`StaticSystemParam`].
1352+ #[ doc( hidden) ]
13341353pub struct StaticSystemParamState < S , P > ( S , PhantomData < fn ( ) -> P > ) ;
13351354
13361355// Safe: This doesn't add any more reads, and the delegated fetch confirms it
0 commit comments