pub struct IntrinsicCacheCell { /* private fields */ }Expand description
Lock-free, 2-slot persistent intrinsic crate::intrinsic::MinMaxSizes cache stored inline
on every LayoutNode.
Slot 0 caches parent_size == None, and Slot 1 caches the most recent parent_size == Some(w).
Cleared whenever this node or any descendant is invalidated, eliminating full-tree text shaping
and intrinsic min/max re-traversal on unchanged reconciled subtrees across frames.
Implementations§
Trait Implementations§
Source§impl Clone for IntrinsicCacheCell
impl Clone for IntrinsicCacheCell
Source§impl Debug for IntrinsicCacheCell
impl Debug for IntrinsicCacheCell
Auto Trait Implementations§
impl !Freeze for IntrinsicCacheCell
impl Forget for IntrinsicCacheCell
impl Move for IntrinsicCacheCell
impl RefUnwindSafe for IntrinsicCacheCell
impl Send for IntrinsicCacheCell
impl Sync for IntrinsicCacheCell
impl Unpin for IntrinsicCacheCell
impl UnsafeUnpin for IntrinsicCacheCell
impl UnwindSafe for IntrinsicCacheCell
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