pub struct DebugSnapshot {
pub revisions: RevisionSet,
pub active_window: Option<String>,
pub active_element: Option<u64>,
pub dom: Option<Value>,
pub layout: Option<Vec<LayoutDiagnosticRow>>,
pub computed_style: Option<Value>,
pub metrics: RendererMetrics,
}Fields§
§revisions: RevisionSet§active_window: Option<String>§active_element: Option<u64>§dom: Option<Value>§layout: Option<Vec<LayoutDiagnosticRow>>§computed_style: Option<Value>Resolved colours per node, when include_computed_style was set.
Only the properties that decide legibility. A full longhand dump for every node is megabytes of JSON nobody reads, and these are what a question about invisible text actually needs.
metrics: RendererMetricsTrait Implementations§
Source§impl Clone for DebugSnapshot
impl Clone for DebugSnapshot
Source§fn clone(&self) -> DebugSnapshot
fn clone(&self) -> DebugSnapshot
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 DebugSnapshot
impl Debug for DebugSnapshot
Source§impl<'de> Deserialize<'de> for DebugSnapshot
impl<'de> Deserialize<'de> for DebugSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DebugSnapshot
impl PartialEq for DebugSnapshot
Source§impl Serialize for DebugSnapshot
impl Serialize for DebugSnapshot
impl StructuralPartialEq for DebugSnapshot
Auto Trait Implementations§
impl Freeze for DebugSnapshot
impl RefUnwindSafe for DebugSnapshot
impl Send for DebugSnapshot
impl Sync for DebugSnapshot
impl Unpin for DebugSnapshot
impl UnsafeUnpin for DebugSnapshot
impl UnwindSafe for DebugSnapshot
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