bevy/crates/bevy_text/src
Erick Z b6e4d171b5
Adding PartialEq to some UI and Text types (#19552)
# Objective

- During the development of
[`bevy_flair`](https://github.com/eckz/bevy_flair) I found [some types
lacking
`PartialEq`](https://github.com/search?q=repo%3Aeckz%2Fbevy_flair%20%20%22Try%20to%20upstream%20it%20to%20bevy%22&type=code)
which made the unit testing a little bit inconvinient.

## Solution

- Adding `PartialEq` for the following types:
  - `LineHeight `
  - `TextShadow`
  - `NodeImageMode`

## Testing

- Letting github actions do the testing, this is not an invasive change
and `cargo run --bin ci` doesn't seem to work in `main` at the moment.
2025-06-09 20:08:17 +00:00
..
bounds.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
error.rs
FiraMono-subset.ttf
font_atlas_set.rs FontAtlasSet fixes (#18850) 2025-04-26 21:22:40 +00:00
font_atlas.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
font_loader.rs
font.rs
glyph.rs Remove apostrophes in possessive its (#19244) 2025-05-26 19:53:14 +00:00
lib.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
pipeline.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
text2d.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
text_access.rs
text.rs Adding PartialEq to some UI and Text types (#19552) 2025-06-09 20:08:17 +00:00