pub struct RenderDiagnostics {Show 13 fields
pub phase_timings: Vec<FramePhaseSample>,
pub text_caches: TextCacheDiagnostics,
pub runtime_text_timing: RuntimeTextTimingDiagnostics,
pub widget_timings: Vec<WidgetTimingSample>,
pub reactive_invalidations: Vec<ReactiveInvalidationSample>,
pub command_dispatches: Vec<CommandDispatchSample>,
pub invalidations: Vec<InvalidationTraceSample>,
pub widget_rebuilds: Vec<WidgetRebuildSample>,
pub widget_count: usize,
pub active_animated_widget_count: usize,
pub animation_frame_wake_count: usize,
pub animation_repaint_frame_count: usize,
pub animation_transform_effect_only_frame_count: usize,
}Fields§
§phase_timings: Vec<FramePhaseSample>§text_caches: TextCacheDiagnostics§runtime_text_timing: RuntimeTextTimingDiagnostics§widget_timings: Vec<WidgetTimingSample>§reactive_invalidations: Vec<ReactiveInvalidationSample>§command_dispatches: Vec<CommandDispatchSample>§invalidations: Vec<InvalidationTraceSample>§widget_rebuilds: Vec<WidgetRebuildSample>§widget_count: usize§active_animated_widget_count: usize§animation_frame_wake_count: usize§animation_repaint_frame_count: usize§animation_transform_effect_only_frame_count: usizeImplementations§
Source§impl RenderDiagnostics
impl RenderDiagnostics
pub fn push(&mut self, phase: FramePhase, duration: Duration)
pub fn total_time_ms(&self) -> f64
Trait Implementations§
Source§impl Clone for RenderDiagnostics
impl Clone for RenderDiagnostics
Source§impl Debug for RenderDiagnostics
impl Debug for RenderDiagnostics
Source§impl Default for RenderDiagnostics
impl Default for RenderDiagnostics
Source§impl PartialEq for RenderDiagnostics
impl PartialEq for RenderDiagnostics
impl StructuralPartialEq for RenderDiagnostics
Auto Trait Implementations§
impl Forget for RenderDiagnostics
impl Freeze for RenderDiagnostics
impl Move for RenderDiagnostics
impl RefUnwindSafe for RenderDiagnostics
impl Send for RenderDiagnostics
impl Sync for RenderDiagnostics
impl Unpin for RenderDiagnostics
impl UnsafeUnpin for RenderDiagnostics
impl UnwindSafe for RenderDiagnostics
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