#[repr(usize)]pub enum CachePartition {
Coverage = 0,
Paragraph = 1,
Glyph = 2,
Gradient = 3,
Formula = 4,
Ink = 5,
Scene = 6,
}Expand description
Independently bounded pure rendering-cache domains.
Variants§
Coverage = 0
Device-space coverage keyed by geometry, transform and tolerance.
Paragraph = 1
Shaped paragraph layouts keyed by text and font environment.
Glyph = 2
Font-unit outlines keyed by immutable font identity and glyph.
Gradient = 3
Linear color lookup tables keyed by gradient content.
Formula = 4
Compiled formula content keyed by source and compiler configuration.
Ink = 5
Full-path preview ink atlases keyed by material parameters and device density.
Scene = 6
Explicit pure author computations shared by render workers and setting changes.
Trait Implementations§
Source§impl Clone for CachePartition
impl Clone for CachePartition
impl Copy for CachePartition
Auto Trait Implementations§
impl Forget for CachePartition
impl Freeze for CachePartition
impl RefUnwindSafe for CachePartition
impl Send for CachePartition
impl Sync for CachePartition
impl Unpin for CachePartition
impl UnsafeUnpin for CachePartition
impl UnwindSafe for CachePartition
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