pub struct TextRendererUnpacked<UD: Copy> {
pub glyphs: HashMap<GlyphRasterConfig, TextRendererGlyph>,
pub atlas_size: [usize; 3],
pub image: Vec<u8>,
pub renderables: Vec<GlyphPosition<UD>>,
}
Fields§
§glyphs: HashMap<GlyphRasterConfig, TextRendererGlyph>
§atlas_size: [usize; 3]
§image: Vec<u8>
§renderables: Vec<GlyphPosition<UD>>
Auto Trait Implementations§
impl<UD> Freeze for TextRendererUnpacked<UD>
impl<UD> RefUnwindSafe for TextRendererUnpacked<UD>where
UD: RefUnwindSafe,
impl<UD> Send for TextRendererUnpacked<UD>where
UD: Send,
impl<UD> Sync for TextRendererUnpacked<UD>where
UD: Sync,
impl<UD> Unpin for TextRendererUnpacked<UD>where
UD: Unpin,
impl<UD> UnwindSafe for TextRendererUnpacked<UD>where
UD: UnwindSafe,
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