pub struct EntityByName(pub BTreeMap<AssetId, Entity>);Expand description
Maps a placement’s asset identity (its declared name) to the live Entity it was loaded into. Built by the decomposition pass so later passes can resolve a name reference (a Prop parent, a PropBody owner, an audio emitter target) to an Entity without scanning.
Tuple Fields§
§0: BTreeMap<AssetId, Entity>Implementations§
Trait Implementations§
Source§impl Debug for EntityByName
impl Debug for EntityByName
Source§impl Default for EntityByName
impl Default for EntityByName
Source§fn default() -> EntityByName
fn default() -> EntityByName
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntityByName
impl RefUnwindSafe for EntityByName
impl Send for EntityByName
impl Sync for EntityByName
impl Unpin for EntityByName
impl UnsafeUnpin for EntityByName
impl UnwindSafe for EntityByName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more