pub struct LayoutTreeMemoryReport {
pub node_count: usize,
pub hot_bytes: usize,
pub warm_bytes: usize,
pub warm_inline_layout_bytes: usize,
pub warm_taffy_cache_bytes: usize,
pub cold_bytes: usize,
pub dom_to_layout_bytes: usize,
pub children_arena_bytes: usize,
pub children_offsets_bytes: usize,
}Expand description
Approximate per-field heap-byte breakdown of a LayoutTree.
Fields§
§node_count: usize§hot_bytes: usize§warm_bytes: usize§warm_inline_layout_bytes: usize§warm_taffy_cache_bytes: usize§cold_bytes: usize§dom_to_layout_bytes: usize§children_arena_bytes: usize§children_offsets_bytes: usizeImplementations§
Source§impl LayoutTreeMemoryReport
impl LayoutTreeMemoryReport
pub fn total_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for LayoutTreeMemoryReport
impl Clone for LayoutTreeMemoryReport
Source§fn clone(&self) -> LayoutTreeMemoryReport
fn clone(&self) -> LayoutTreeMemoryReport
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 LayoutTreeMemoryReport
impl Debug for LayoutTreeMemoryReport
Source§impl Default for LayoutTreeMemoryReport
impl Default for LayoutTreeMemoryReport
Source§fn default() -> LayoutTreeMemoryReport
fn default() -> LayoutTreeMemoryReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutTreeMemoryReport
impl RefUnwindSafe for LayoutTreeMemoryReport
impl Send for LayoutTreeMemoryReport
impl Sync for LayoutTreeMemoryReport
impl Unpin for LayoutTreeMemoryReport
impl UnsafeUnpin for LayoutTreeMemoryReport
impl UnwindSafe for LayoutTreeMemoryReport
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