pub struct UiStats {
pub builds: u64,
pub layouts: u64,
pub placements: u64,
pub paints: u64,
pub shapes: u64,
pub causes: BuildCauses,
}Expand description
Work a Ui has done since it was created. These are exact counts, so a test
can demand that moving the pointer shapes no text or that an animation builds nothing.
Fields§
§builds: u64Times the views ran.
layouts: u64Times sizes and positions were solved.
placements: u64Times every element was given its place.
paints: u64Times the scene was painted.
shapes: u64Times text was shaped.
causes: BuildCausesWhy the views ran.
Trait Implementations§
impl Copy for UiStats
impl Eq for UiStats
impl StructuralPartialEq for UiStats
Auto Trait Implementations§
impl Freeze for UiStats
impl RefUnwindSafe for UiStats
impl Send for UiStats
impl Sync for UiStats
impl Unpin for UiStats
impl UnsafeUnpin for UiStats
impl UnwindSafe for UiStats
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<T> Brush for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.