bevy/crates/bevy_ui
Kees van Beilen 8d8622d352
Made UIRect initialisation functions const (#16823)
# Objective
Destructuring in const code blocks isn't allowed, thus using UIRect in
const code can be a hassle as it initialisation function aren't const.
This Pr makes them const.

## Solution

Removed all destructuring in the UIRect implementation

## Testing

- I've ran a few ui examples to check if i didn't make a mistake,

---
2024-12-15 19:17:43 +00:00
..
src Made UIRect initialisation functions const (#16823) 2024-12-15 19:17:43 +00:00
Cargo.toml Upgrade Taffy to 0.7 (#16780) 2024-12-12 18:12:32 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy UI

License Crates.io Downloads Docs Discord