pub struct ProfileMetrics {
pub element_count: usize,
pub text_count: usize,
pub attribute_count: usize,
pub max_depth: usize,
pub distinct_elements: usize,
pub namespace_count: usize,
}Expand description
Additional profiling metrics.
Fields§
§element_count: usizeNumber of element nodes.
text_count: usizeNumber of text nodes.
attribute_count: usizeNumber of attributes.
max_depth: usizeMaximum tree depth.
distinct_elements: usizeNumber of distinct element names.
namespace_count: usizeNumber of namespace declarations.
Trait Implementations§
Source§impl Clone for ProfileMetrics
impl Clone for ProfileMetrics
Source§fn clone(&self) -> ProfileMetrics
fn clone(&self) -> ProfileMetrics
Returns a duplicate of the value. Read more
1.0.0 · 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 ProfileMetrics
impl Debug for ProfileMetrics
Source§impl Default for ProfileMetrics
impl Default for ProfileMetrics
Source§fn default() -> ProfileMetrics
fn default() -> ProfileMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfileMetrics
impl RefUnwindSafe for ProfileMetrics
impl Send for ProfileMetrics
impl Sync for ProfileMetrics
impl Unpin for ProfileMetrics
impl UnwindSafe for ProfileMetrics
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