pub struct PaintFragmentCache { /* private fields */ }Expand description
Bounded cross-frame cache retaining whole display lists and clean clipped 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 PaintFragmentCache
impl Move for PaintFragmentCache
impl RefUnwindSafe for PaintFragmentCache
impl Send for PaintFragmentCachewhere
RawVecInner: Send,
impl Sync for PaintFragmentCachewhere
RawVecInner: Sync,
impl Unpin for PaintFragmentCache
impl UnsafeUnpin for PaintFragmentCache
impl UnwindSafe for PaintFragmentCachewhere
RawVecInner: UnwindSafe,
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