pub struct UiAtlasMap(pub HashMap<AssetUUID, AtlasRect>);Expand description
Per-frame UI atlas lookup: texture UUID → allocated AtlasRect.
Maintained by the UI agent (which owns the atlas allocator) and passed
to the UI render lane through LaneContext. Replaces the old in-place
ExtractedUiNode.atlas_rect mutation, which violated the immutable
LaneBus invariant once the bus replaced UiSceneStore.
Tuple Fields§
§0: HashMap<AssetUUID, AtlasRect>Implementations§
Source§impl UiAtlasMap
impl UiAtlasMap
Trait Implementations§
Source§impl Clone for UiAtlasMap
impl Clone for UiAtlasMap
Source§fn clone(&self) -> UiAtlasMap
fn clone(&self) -> UiAtlasMap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiAtlasMap
impl Debug for UiAtlasMap
Source§impl Default for UiAtlasMap
impl Default for UiAtlasMap
Source§fn default() -> UiAtlasMap
fn default() -> UiAtlasMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UiAtlasMap
impl RefUnwindSafe for UiAtlasMap
impl Send for UiAtlasMap
impl Sync for UiAtlasMap
impl Unpin for UiAtlasMap
impl UnsafeUnpin for UiAtlasMap
impl UnwindSafe for UiAtlasMap
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