pub struct StyledDomMemoryReport {
pub node_count: usize,
pub node_hierarchy_bytes: usize,
pub node_data_bytes: usize,
pub styled_nodes_bytes: usize,
pub cascade_info_bytes: usize,
pub tag_ids_bytes: usize,
pub non_leaf_nodes_bytes: usize,
pub callback_vecs_bytes: usize,
pub css_property_cache: CssPropertyCacheBreakdown,
}Expand description
Per-field heap-byte breakdown of a StyledDom.
Fields§
§node_count: usize§node_hierarchy_bytes: usize§node_data_bytes: usize§styled_nodes_bytes: usize§cascade_info_bytes: usize§tag_ids_bytes: usize§non_leaf_nodes_bytes: usize§callback_vecs_bytes: usize§css_property_cache: CssPropertyCacheBreakdownImplementations§
Source§impl StyledDomMemoryReport
impl StyledDomMemoryReport
pub fn total_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for StyledDomMemoryReport
impl Clone for StyledDomMemoryReport
Source§fn clone(&self) -> StyledDomMemoryReport
fn clone(&self) -> StyledDomMemoryReport
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 StyledDomMemoryReport
impl Debug for StyledDomMemoryReport
Source§impl Default for StyledDomMemoryReport
impl Default for StyledDomMemoryReport
Source§fn default() -> StyledDomMemoryReport
fn default() -> StyledDomMemoryReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StyledDomMemoryReport
impl RefUnwindSafe for StyledDomMemoryReport
impl Send for StyledDomMemoryReport
impl Sync for StyledDomMemoryReport
impl Unpin for StyledDomMemoryReport
impl UnsafeUnpin for StyledDomMemoryReport
impl UnwindSafe for StyledDomMemoryReport
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