pub struct LayoutStats {
pub total_components: usize,
pub rows_used: usize,
pub column_utilization: f64,
pub has_overflow: bool,
}Expand description
Layout statistics for monitoring and debugging
Fields§
§total_components: usizeTotal number of components
rows_used: usizeNumber of rows used
column_utilization: f64Column utilization (0.0-1.0, >1.0 indicates overflow)
has_overflow: boolWhether there’s content overflow
Trait Implementations§
Source§impl Clone for LayoutStats
impl Clone for LayoutStats
Source§fn clone(&self) -> LayoutStats
fn clone(&self) -> LayoutStats
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 moreAuto 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