bevy/crates/bevy_ui/src
andriyDev d05c435848
Replace Handle::Weak with Handle::Uuid. (#19896)
# Objective

- Progress towards #19024.

## Solution

- Remove `Handle::Weak`!

If users were relying on `Handle::Weak` for some purpose, they can
almost certainly replace it with raw `AssetId` instead. If they cannot,
they can make their own enum that holds either a Handle or an AssetId.
In either case, we don't need weak handles!

Sadly we still need Uuid handles since we rely on them for "default"
assets and "invalid" assets, as well as anywhere where a component wants
to impl default with a non-defaulted asset handle. One step at a time
though!
2025-07-02 14:40:35 +00:00
..
experimental Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
layout Newtyped ScrollPosition (#19881) 2025-07-01 17:41:48 +00:00
render Replace Handle::Weak with Handle::Uuid. (#19896) 2025-07-02 14:40:35 +00:00
widget Move TextShadow to text widget module (#19579) 2025-06-29 17:37:04 +00:00
accessibility.rs Specialized UI transform (#16615) 2025-06-09 19:05:49 +00:00
focus.rs bevy_ui compilation (#19858) 2025-06-29 17:12:11 +00:00
geometry.rs Rename Position to UiPosition in bevy_ui (#19422) 2025-05-29 14:52:44 +00:00
gradients.rs Color interpolation in OKLab, OKLCH spaces for UI gradients (#19330) 2025-06-21 15:06:35 +00:00
interaction_states.rs Core Checkbox (#19665) 2025-06-20 16:37:18 +00:00
lib.rs Move TextShadow to text widget module (#19579) 2025-06-29 17:37:04 +00:00
measurement.rs Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-23 20:05:28 +00:00
picking_backend.rs Fix ui picking outside the viewport (#19744) 2025-06-30 22:46:56 +00:00
stack.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
ui_material.rs Type erased materials (#19667) 2025-06-27 22:57:24 +00:00
ui_node.rs Newtyped ScrollPosition (#19881) 2025-07-01 17:41:48 +00:00
ui_transform.rs Specialized UI transform (#16615) 2025-06-09 19:05:49 +00:00
update.rs Opt-out for UI clipping (#19826) 2025-06-27 17:17:09 +00:00