pub struct InspectorSnapshot {Show 23 fields
pub root: Option<InspectorNode>,
pub state: Vec<StateInstanceSnapshot>,
pub stores: Vec<StoreSnapshot>,
pub theme_family: String,
pub theme_name: String,
pub theme_colors: BTreeMap<String, String>,
pub traces: Vec<RuntimeTrace>,
pub timings: Vec<ExecutionTiming>,
pub dirty: Vec<String>,
pub components: Vec<InspectorComponent>,
pub signals: Vec<InspectorSignal>,
pub effects: Vec<InspectorEffect>,
pub motions: Vec<InspectorMotion>,
pub timelines: Vec<InspectorTimeline>,
pub timers: Vec<InspectorTimer>,
pub element_refs: Vec<InspectorElementRef>,
pub virtual_collections: Vec<InspectorVirtualCollection>,
pub geometry_nodes: usize,
pub pointer_captures: BTreeMap<u64, u64>,
pub locale_readers: usize,
pub theme_readers: usize,
pub viewport_readers: usize,
pub clock_elapsed_ms: u64,
}Fields§
§root: Option<InspectorNode>§state: Vec<StateInstanceSnapshot>§stores: Vec<StoreSnapshot>§theme_family: String§theme_name: String§theme_colors: BTreeMap<String, String>§traces: Vec<RuntimeTrace>§timings: Vec<ExecutionTiming>§dirty: Vec<String>§components: Vec<InspectorComponent>§signals: Vec<InspectorSignal>§effects: Vec<InspectorEffect>§motions: Vec<InspectorMotion>§timelines: Vec<InspectorTimeline>§timers: Vec<InspectorTimer>§element_refs: Vec<InspectorElementRef>§virtual_collections: Vec<InspectorVirtualCollection>§geometry_nodes: usize§pointer_captures: BTreeMap<u64, u64>§locale_readers: usize§theme_readers: usize§viewport_readers: usize§clock_elapsed_ms: u64Implementations§
Source§impl InspectorSnapshot
impl InspectorSnapshot
pub fn capture( root: Option<&UiNode>, runtime: &UiRuntimeState, theme: &ThemeVariant, components: &ComponentRegistry, timings: Vec<ExecutionTiming>, ) -> Self
pub fn capture_for_view( root: Option<&UiNode>, runtime: &UiRuntimeState, theme: &ThemeVariant, components: &ComponentRegistry, timings: Vec<ExecutionTiming>, view: Option<&str>, ) -> Self
Trait Implementations§
Source§impl Clone for InspectorSnapshot
impl Clone for InspectorSnapshot
Auto Trait Implementations§
impl Freeze for InspectorSnapshot
impl RefUnwindSafe for InspectorSnapshot
impl Send for InspectorSnapshot
impl Sync for InspectorSnapshot
impl Unpin for InspectorSnapshot
impl UnsafeUnpin for InspectorSnapshot
impl UnwindSafe for InspectorSnapshot
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<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,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Variant for T
impl<T> Variant for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert this
Variant trait object to &mut dyn Any.Source§fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
fn as_boxed_any(self: Box<T>) -> Box<dyn Any>
Convert this
Variant trait object to Box<dyn Any>.