pub struct LayoutStats {
pub layout_calculations: u64,
pub layout_time_us: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub node_count: u32,
}
Expand description
Performance statistics for the layout engine
Fields§
§layout_calculations: u64
Number of layout calculations performed
layout_time_us: u64
Time spent in layout calculations (microseconds)
cache_hits: u64
Number of cache hits
cache_misses: u64
Number of cache misses
node_count: u32
Number of nodes in the current layout tree
Trait Implementations§
Source§impl Clone for LayoutStats
impl Clone for LayoutStats
Source§fn clone(&self) -> LayoutStats
fn clone(&self) -> LayoutStats
Returns a copy 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 LayoutStats
impl Debug for LayoutStats
Source§impl Default for LayoutStats
impl Default for LayoutStats
Source§fn default() -> LayoutStats
fn default() -> LayoutStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutStats
impl RefUnwindSafe for LayoutStats
impl Send for LayoutStats
impl Sync for LayoutStats
impl Unpin for LayoutStats
impl UnwindSafe for LayoutStats
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> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting