pub struct ModifierNodeSlicesDebugStats {
pub draw_command_count: usize,
pub draw_command_capacity: usize,
pub pointer_input_count: usize,
pub pointer_input_capacity: usize,
pub has_text_content: bool,
pub has_text_style: bool,
pub has_text_layout_options: bool,
pub has_prepared_text_layout: bool,
pub has_graphics_layer: bool,
pub has_graphics_layer_resolver: bool,
pub heap_bytes: usize,
}Expand description
Counts and capacities of the data that modifier node slices hold, for memory diagnostics.
Fields§
§draw_command_count: usizeNumber of draw commands.
draw_command_capacity: usizeAllocated capacity of the draw command list, in commands.
pointer_input_count: usizeNumber of pointer input handlers.
pointer_input_capacity: usizeAllocated capacity of the pointer input handler list, in handlers.
has_text_content: boolWhether the node shows text.
has_text_style: boolWhether the node carries a text style.
has_text_layout_options: boolWhether the node carries text layout options.
has_prepared_text_layout: boolWhether the node carries a prepared text layout.
has_graphics_layer: boolWhether the node carries a graphics layer.
has_graphics_layer_resolver: boolWhether the graphics layer is read through a resolver that runs when the layer is used.
heap_bytes: usizeHeap bytes of the draw command and pointer input handler lists, counted by capacity.
Trait Implementations§
Source§impl Clone for ModifierNodeSlicesDebugStats
impl Clone for ModifierNodeSlicesDebugStats
impl Copy for ModifierNodeSlicesDebugStats
Source§impl Debug for ModifierNodeSlicesDebugStats
impl Debug for ModifierNodeSlicesDebugStats
impl Eq for ModifierNodeSlicesDebugStats
impl StructuralPartialEq for ModifierNodeSlicesDebugStats
Auto Trait Implementations§
impl Freeze for ModifierNodeSlicesDebugStats
impl RefUnwindSafe for ModifierNodeSlicesDebugStats
impl Send for ModifierNodeSlicesDebugStats
impl Sync for ModifierNodeSlicesDebugStats
impl Unpin for ModifierNodeSlicesDebugStats
impl UnsafeUnpin for ModifierNodeSlicesDebugStats
impl UnwindSafe for ModifierNodeSlicesDebugStats
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<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> ⓘ
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