struct LocationCaches {
scaling_data: OnceLock<Box<dyn Any + Send + Sync>>,
metrics: OnceLock<Metrics>,
style_metrics: OnceLock<Box<StyleMetrics>>,
}Expand description
Caches for one location of a font of any kind.
Fields§
§scaling_data: OnceLock<Box<dyn Any + Send + Sync>>Data that Skrifa derives from the font at this location.
metrics: OnceLock<Metrics>§style_metrics: OnceLock<Box<StyleMetrics>>Implementations§
Auto Trait Implementations§
impl !Freeze for LocationCaches
impl !RefUnwindSafe for LocationCaches
impl !UnwindSafe for LocationCaches
impl Send for LocationCaches
impl Sync for LocationCaches
impl Unpin for LocationCaches
impl UnsafeUnpin for LocationCaches
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