pub struct LayoutCache { /* private fields */ }Expand description
Layout cache for memoizing measure results.
Implementations§
Source§impl LayoutCache
impl LayoutCache
Sourcepub fn advance_frame(&mut self)
pub fn advance_frame(&mut self)
Advance to the next frame and evict stale entries.
Trait Implementations§
Source§impl Debug for LayoutCache
impl Debug for LayoutCache
Source§impl Default for LayoutCache
impl Default for LayoutCache
Source§fn default() -> LayoutCache
fn default() -> LayoutCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutCache
impl RefUnwindSafe for LayoutCache
impl Send for LayoutCache
impl Sync for LayoutCache
impl Unpin for LayoutCache
impl UnwindSafe for LayoutCache
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