Module bevy_ecs::change_detection
source · Expand description
Types that detect when their internal data mutate.
Structs§
- Unique mutable borrow of an entity’s component or of a resource.
- Unique mutable borrow of resources or an entity’s component.
- Unique borrow of a non-
Sendresource. - Shared borrow of an entity’s component with access to change detection. Similar to
Mutbut is immutable and so doesn’t require unique access. - Shared borrow of a
Resource. - Unique mutable borrow of a
Resource.
Constants§
- The (arbitrarily chosen) minimum number of world tick increments between
check_tickscans. - The maximum change tick difference that won’t overflow before the next
check_tickscan.
Traits§
- Types that can read change detection information. This change detection is controlled by
DetectChangesMuttypes such asResMut. - Types that implement reliable change detection.