bevy/crates/bevy_text/src
ickshonpe 9873c9745b
Rename num_font_atlases to len. (#9879)
# Objective

Rename the `num_font_atlases` method of `FontAtlasSet` to `len`.

All the function does is return the number of entries in its hashmap and
the unnatural naming only makes it harder to discover.

---

## Changelog

* Renamed the `num_font_atlases` method of `FontAtlasSet` to `len`.

## Migration Guide

The `num_font_atlases` method of `FontAtlasSet` has been renamed to
`len`.
2023-09-20 19:44:50 +00:00
..
error.rs Remove TextError::ExceedMaxTextAtlases(usize) variant (#6796) 2022-12-05 23:23:16 +00:00
FiraMono-subset.ttf add a default font (#8445) 2023-04-21 22:30:18 +00:00
font_atlas_set.rs Rename num_font_atlases to len. (#9879) 2023-09-20 19:44:50 +00:00
font_atlas.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
font_loader.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
font.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
glyph_brush.rs Rename num_font_atlases to len. (#9879) 2023-09-20 19:44:50 +00:00
lib.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
pipeline.rs TextLayoutInfo::size should hold the drawn size of the text, and not a scaled value. (#7794) 2023-09-11 18:56:16 +00:00
text2d.rs Remove z-axis scaling in extract_text2d_sprite (#9733) 2023-09-11 19:12:23 +00:00
text.rs impl From<String> and From<&str> for TextSection (#8856) 2023-09-11 19:00:50 +00:00