enum CacheResult {
CachedAndRendered,
UnsupportedTransform,
AtlasFull,
}Expand description
Outcome of a cache-first render attempt.
Callers use the variant to decide whether to fall back to direct rendering.
Variants§
CachedAndRendered
Glyph was rasterised, stored in the atlas, and drawn. No fallback needed.
UnsupportedTransform
Transform contains rotation or skew — cannot be cached at a single raster resolution, so the caller must render directly.
AtlasFull
Atlas allocator could not fit the glyph (page full, eviction didn’t free enough space, or the glyph exceeds the page dimensions).
Auto Trait Implementations§
impl Freeze for CacheResult
impl RefUnwindSafe for CacheResult
impl Send for CacheResult
impl Sync for CacheResult
impl Unpin for CacheResult
impl UnsafeUnpin for CacheResult
impl UnwindSafe for CacheResult
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