File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -322,9 +322,8 @@ pub struct Or<T>(PhantomData<T>);
322
322
#[ doc( hidden) ]
323
323
pub struct FetchOr < T > ( T ) ;
324
324
325
- /// Query transformer that skips entities that have a `T` component that has
326
- /// not been mutated since the last pass of the system. This does not include
327
- /// components that were added in since the last pass.
325
+ /// Query transformer that retrieves components of type `T` that have been mutated since the start of the frame.
326
+ /// Added components do not count as mutated.
328
327
pub struct Mutated < ' a , T > {
329
328
value : & ' a T ,
330
329
}
@@ -389,7 +388,7 @@ impl<'a, T: Component> Fetch<'a> for FetchMutated<T> {
389
388
}
390
389
}
391
390
392
- # [ allow ( missing_docs ) ]
391
+ /// Query transformer that retrieves components of type `T` that have been added since the start of the frame.
393
392
pub struct Added < ' a , T > {
394
393
value : & ' a T ,
395
394
}
@@ -452,8 +451,7 @@ impl<'a, T: Component> Fetch<'a> for FetchAdded<T> {
452
451
}
453
452
}
454
453
455
- /// Query transformer skipping entities that have not been either mutated or added
456
- /// since the last pass of the system
454
+ /// Query transformer that retrieves components of type `T` that have either been mutated or added since the start of the frame.
457
455
pub struct Changed < ' a , T > {
458
456
value : & ' a T ,
459
457
}
You can’t perform that action at this time.
0 commit comments