Expand description
The scope accessors: the read and write entry points of a world.
A scope names the entity it is rooted at. It sees that entity, everything below it, and the shared subtree; it does not see its ancestors or its siblings. There is no way up: a scope cannot name the world it came from, so holding one is not a way to reach the rest.
Reading and writing components needs only Scope. Structural
changes โ spawning, despawning, relinking โ need ScopeMut, whose
operations are confined to the scopeโs own subtree.
Re-exportsยง
use crate::archetype::Archetype;๐use crate::archetype::ScopeSummary;๐use crate::borrow::Claims;๐use crate::bundle::Bundle;๐use crate::command::Commands;๐use crate::entity::Entity;๐use crate::entity::Location;๐use crate::error::ArchetypeAccessError;๐use crate::error::EntityAccessError;๐use crate::info::ArchetypeInfo;๐use crate::info::EntityInfo;๐use crate::info::WorldInfo;๐use crate::query::PlanBuilder;๐use crate::query::Query;๐use crate::query::QueryBorrow;๐use crate::query::QueryOne;๐use crate::world::World;๐