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-Send resource.
  • Shared borrow of an entity’s component with access to change detection. Similar to Mut but 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_tick scans.
  • The maximum change tick difference that won’t overflow before the next check_tick scan.

Traits§