pub struct WindowInspectorSnapshot {Show 13 fields
pub window_id: WindowId,
pub title: String,
pub tracing_enabled: bool,
pub focus_state: FocusState,
pub schedule: FrameSchedule,
pub semantics: Vec<SemanticsNode>,
pub widget_graph: WidgetGraphSnapshot,
pub overlays: OverlayManagerSnapshot,
pub scheduler: SchedulerInspectorSnapshot,
pub widget_diagnostics: Vec<WidgetDiagnosticsSnapshot>,
pub last_render_diagnostics: RenderDiagnostics,
pub history: InspectorHistorySnapshot,
pub scene: Option<SceneStatistics>,
}Expand description
Renderer-neutral, point-in-time state consumed by testing tools and live inspector UIs. Capturing widget-specific diagnostics is opt-in and happens only while this snapshot is requested.
Fields§
§window_id: WindowId§title: String§tracing_enabled: bool§focus_state: FocusState§schedule: FrameSchedule§semantics: Vec<SemanticsNode>§widget_graph: WidgetGraphSnapshot§overlays: OverlayManagerSnapshot§scheduler: SchedulerInspectorSnapshot§widget_diagnostics: Vec<WidgetDiagnosticsSnapshot>§last_render_diagnostics: RenderDiagnostics§history: InspectorHistorySnapshot§scene: Option<SceneStatistics>Trait Implementations§
Source§impl Clone for WindowInspectorSnapshot
impl Clone for WindowInspectorSnapshot
Source§fn clone(&self) -> WindowInspectorSnapshot
fn clone(&self) -> WindowInspectorSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowInspectorSnapshot
impl Debug for WindowInspectorSnapshot
Source§impl PartialEq for WindowInspectorSnapshot
impl PartialEq for WindowInspectorSnapshot
impl StructuralPartialEq for WindowInspectorSnapshot
Auto Trait Implementations§
impl Freeze for WindowInspectorSnapshot
impl RefUnwindSafe for WindowInspectorSnapshot
impl Send for WindowInspectorSnapshot
impl Sync for WindowInspectorSnapshot
impl Unpin for WindowInspectorSnapshot
impl UnsafeUnpin for WindowInspectorSnapshot
impl UnwindSafe for WindowInspectorSnapshot
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