struct LayoutMemo {
map: BTreeMap<LayoutMemoKey, LayoutMemoEntry>,
hits: u64,
misses: u64,
tick: u64,
}Fields§
§map: BTreeMap<LayoutMemoKey, LayoutMemoEntry>§hits: u64§misses: u64§tick: u64Implementations§
Source§impl LayoutMemo
impl LayoutMemo
const MAX_ENTRIES: usize = 2048
const MAX_SUBTREE_BOXES: usize = 8192
const fn new() -> Self
Auto Trait Implementations§
impl Freeze for LayoutMemo
impl RefUnwindSafe for LayoutMemo
impl Send for LayoutMemo
impl Sync for LayoutMemo
impl Unpin for LayoutMemo
impl UnsafeUnpin for LayoutMemo
impl UnwindSafe for LayoutMemo
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