pub struct UiSpans {
pub rebuild: Duration,
pub layout: Duration,
pub paint: Duration,
pub skipped: bool,
}Expand description
The UI-thread half of a render-thread-split frame’s timing: the
rebuild/layout/paint spans measured on the UI thread,
plus the frame gate’s skipped verdict (the gate stays UI-side — see
crate::frame_gate). Rides the scene-handoff channel across to the
render thread, which folds it together with its own RenderSpans via
FramePasses::from_split and records the result through the one emitter.
Fields§
§rebuild: Duration§layout: Duration§paint: Duration§skipped: boolThe frame gate’s skip verdict (a skipped frame carries all-zero spans);
preserved through FramePasses::from_split into the recorded frame.
Trait Implementations§
impl Copy for UiSpans
impl Eq for UiSpans
impl StructuralPartialEq for UiSpans
Auto Trait Implementations§
impl Freeze for UiSpans
impl RefUnwindSafe for UiSpans
impl Send for UiSpans
impl Sync for UiSpans
impl Unpin for UiSpans
impl UnsafeUnpin for UiSpans
impl UnwindSafe for UiSpans
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
impl<T> Brush for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.