pub struct PaintFragmentCache { /* private fields */ }Expand description
Bounded cross-frame cache retaining whole display lists and clean nested subtree DrawCommand fragments.
Implementations§
Source§impl PaintFragmentCache
Telemetry and invalidation helpers for PaintFragmentCache.
impl PaintFragmentCache
Telemetry and invalidation helpers for PaintFragmentCache.
Source§impl PaintFragmentCache
impl PaintFragmentCache
pub fn get_whole_list_hits(&self) -> u64
pub fn get_fragment_hits(&self) -> u64
pub fn get_fragment_misses(&self) -> u64
pub fn get_fragment_evictions(&self) -> u64
Trait Implementations§
Source§impl Clone for PaintFragmentCache
impl Clone for PaintFragmentCache
Source§impl Debug for PaintFragmentCache
impl Debug for PaintFragmentCache
Auto Trait Implementations§
impl Forget for PaintFragmentCache
impl Freeze for PaintFragmentCachewhere
*const u8 is !null: Freeze,
PhantomData<RetainedPaintFragment>: Freeze,
PhantomData<CachedDrawCommand>: Freeze,
PhantomData<u8>: Freeze,
impl Move for PaintFragmentCache
impl RefUnwindSafe for PaintFragmentCache
impl Send for PaintFragmentCache
impl Sync for PaintFragmentCache
impl Unpin for PaintFragmentCache
impl UnsafeUnpin for PaintFragmentCachewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RetainedPaintFragment>: UnsafeUnpin,
PhantomData<CachedDrawCommand>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PaintFragmentCache
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