pub struct LayoutCache { /* private fields */ }Expand description
The relayout cache, retained in the crate::Runtime from one frame to the next.
Implementations§
Source§impl LayoutCache
impl LayoutCache
Sourcepub fn last_frame_stats(&self) -> (u32, u32)
pub fn last_frame_stats(&self) -> (u32, u32)
Reuses and recomputations of the last completed frame (diagnostic).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayoutCache
impl RefUnwindSafe for LayoutCache
impl Send for LayoutCache
impl Sync for LayoutCache
impl Unpin for LayoutCache
impl UnsafeUnpin 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