#[non_exhaustive]pub struct TextInfo {}Expand description
what a scene’s text holds (Scene::text_info). It may grow
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fonts: u32§glyphs: u32the glyph table’s rows, their tiles of class S and L, the atlas’s pages (PAGE x PAGE texels, 4 bytes each) and the texture’s layers
tiles_s: u32§tiles_l: u32§pages: u32§layers: u32§made: u32tiles made so far; glyphs that found no page (the device’s most layers)
failed: u32§fills: u32texts drawn as fills now; texts that changed between glyphs and fills in the last prepare
switched: u32§sent_bytes: u64what the last prepare sent of the atlas (bytes) and of the glyph table (rows)
sent_rows: u32§decided_scale: f64the scale text decides its mode and class by (Camera::scale’s units)
Trait Implementations§
impl Copy for TextInfo
impl StructuralPartialEq for TextInfo
Auto Trait Implementations§
impl Forget for TextInfo
impl Freeze for TextInfo
impl Move for TextInfo
impl RefUnwindSafe for TextInfo
impl Send for TextInfo
impl Sync for TextInfo
impl Unpin for TextInfo
impl UnsafeUnpin for TextInfo
impl UnwindSafe for TextInfo
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