Struct epaint::text::fonts::FontImplCache
source · struct FontImplCache {
atlas: Arc<Mutex<TextureAtlas>>,
pixels_per_point: f32,
ab_glyph_fonts: BTreeMap<String, (FontTweak, FontArc)>,
cache: HashMap<(u32, String), Arc<FontImpl>>,
}
Fields§
§atlas: Arc<Mutex<TextureAtlas>>
§pixels_per_point: f32
§ab_glyph_fonts: BTreeMap<String, (FontTweak, FontArc)>
§cache: HashMap<(u32, String), Arc<FontImpl>>
Map font pixel sizes and names to the cached FontImpl
.
Implementations§
Auto Trait Implementations§
impl Freeze for FontImplCache
impl !RefUnwindSafe for FontImplCache
impl Send for FontImplCache
impl Sync for FontImplCache
impl Unpin for FontImplCache
impl !UnwindSafe for FontImplCache
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