pub struct Solver3CacheMemoryReport {
pub tree_bytes: usize,
pub tree_report: Option<LayoutTreeMemoryReport>,
pub calculated_positions_bytes: usize,
pub previous_positions_bytes: usize,
pub scroll_ids_bytes: usize,
pub scroll_id_to_node_id_bytes: usize,
pub counters_bytes: usize,
pub float_cache_bytes: usize,
pub cache_map_bytes: usize,
pub cached_display_list_bytes: usize,
}Expand description
Approximate heap-byte breakdown of the solver3 LayoutCache.
Fields§
§tree_bytes: usize§tree_report: Option<LayoutTreeMemoryReport>§calculated_positions_bytes: usize§previous_positions_bytes: usize§scroll_ids_bytes: usize§scroll_id_to_node_id_bytes: usize§counters_bytes: usize§float_cache_bytes: usize§cache_map_bytes: usize§cached_display_list_bytes: usizeImplementations§
Source§impl Solver3CacheMemoryReport
impl Solver3CacheMemoryReport
pub fn total_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for Solver3CacheMemoryReport
impl Clone for Solver3CacheMemoryReport
Source§fn clone(&self) -> Solver3CacheMemoryReport
fn clone(&self) -> Solver3CacheMemoryReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Solver3CacheMemoryReport
impl Debug for Solver3CacheMemoryReport
Source§impl Default for Solver3CacheMemoryReport
impl Default for Solver3CacheMemoryReport
Source§fn default() -> Solver3CacheMemoryReport
fn default() -> Solver3CacheMemoryReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Solver3CacheMemoryReport
impl RefUnwindSafe for Solver3CacheMemoryReport
impl Send for Solver3CacheMemoryReport
impl Sync for Solver3CacheMemoryReport
impl Unpin for Solver3CacheMemoryReport
impl UnsafeUnpin for Solver3CacheMemoryReport
impl UnwindSafe for Solver3CacheMemoryReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more