pub struct LayoutAllocationDebugStats {Show 24 fields
pub layout_box_count: usize,
pub layout_box_child_count: usize,
pub layout_box_child_capacity: usize,
pub layout_box_heap_bytes: usize,
pub modifier_slice_count: usize,
pub modifier_slice_heap_bytes: usize,
pub modifier_draw_command_count: usize,
pub modifier_draw_command_capacity: usize,
pub modifier_pointer_input_count: usize,
pub modifier_pointer_input_capacity: usize,
pub modifier_text_content_count: usize,
pub modifier_text_style_count: usize,
pub modifier_text_layout_options_count: usize,
pub modifier_prepared_text_layout_count: usize,
pub modifier_graphics_layer_count: usize,
pub modifier_graphics_layer_resolver_count: usize,
pub semantics_node_count: usize,
pub semantics_action_count: usize,
pub semantics_action_capacity: usize,
pub semantics_child_count: usize,
pub semantics_child_capacity: usize,
pub semantics_description_count: usize,
pub semantics_description_bytes: usize,
pub semantics_heap_bytes: usize,
}Expand description
Counts and heap sizes of the layout and semantics data that one measure pass retains, for memory diagnostics.
Fields§
§layout_box_count: usizeNumber of LayoutBox nodes in the tree.
layout_box_child_count: usizeTotal number of child entries across all layout boxes.
layout_box_child_capacity: usizeTotal allocated capacity of the child vectors across all layout boxes.
layout_box_heap_bytes: usizeHeap bytes allocated for the child vectors of all layout boxes.
modifier_slice_count: usizeNumber of modifier slice snapshots, one per layout box.
modifier_slice_heap_bytes: usizeHeap bytes held by all modifier slice snapshots.
modifier_draw_command_count: usizeNumber of draw commands collected from modifier nodes.
modifier_draw_command_capacity: usizeAllocated capacity of the draw command lists.
modifier_pointer_input_count: usizeNumber of pointer input handlers collected from modifier nodes.
modifier_pointer_input_capacity: usizeAllocated capacity of the pointer input handler lists.
modifier_text_content_count: usizeNumber of layout boxes that carry text content.
modifier_text_style_count: usizeNumber of layout boxes that carry a text style.
modifier_text_layout_options_count: usizeNumber of layout boxes that carry text layout options.
modifier_prepared_text_layout_count: usizeNumber of layout boxes that carry a prepared text layout.
modifier_graphics_layer_count: usizeNumber of layout boxes that carry a graphics layer.
modifier_graphics_layer_resolver_count: usizeNumber of layout boxes that carry a graphics layer resolver.
semantics_node_count: usizeNumber of nodes in the semantics tree.
semantics_action_count: usizeTotal number of actions across all semantics nodes.
semantics_action_capacity: usizeTotal allocated capacity of the action vectors across all semantics nodes.
semantics_child_count: usizeTotal number of child entries across all semantics nodes.
semantics_child_capacity: usizeTotal allocated capacity of the child vectors across all semantics nodes.
semantics_description_count: usizeNumber of semantics nodes that have a content description.
semantics_description_bytes: usizeAllocated bytes of all content description strings.
semantics_heap_bytes: usizeHeap bytes held by the semantics tree: actions, children, details and descriptions.
Trait Implementations§
Source§impl Clone for LayoutAllocationDebugStats
impl Clone for LayoutAllocationDebugStats
impl Copy for LayoutAllocationDebugStats
Source§impl Debug for LayoutAllocationDebugStats
impl Debug for LayoutAllocationDebugStats
Source§impl Default for LayoutAllocationDebugStats
impl Default for LayoutAllocationDebugStats
impl Eq for LayoutAllocationDebugStats
impl StructuralPartialEq for LayoutAllocationDebugStats
Auto Trait Implementations§
impl Freeze for LayoutAllocationDebugStats
impl RefUnwindSafe for LayoutAllocationDebugStats
impl Send for LayoutAllocationDebugStats
impl Sync for LayoutAllocationDebugStats
impl Unpin for LayoutAllocationDebugStats
impl UnsafeUnpin for LayoutAllocationDebugStats
impl UnwindSafe for LayoutAllocationDebugStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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> ⓘ
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