pub enum InspectAction {
GetStyles,
GetBoundingBoxes,
Highlight,
ClearHighlights,
AuditAccessibility,
GetPerformance,
}Expand description
Action for the compound inspect tool.
Variants§
GetStyles
Get computed CSS styles for an element.
GetBoundingBoxes
Get bounding boxes for elements.
Highlight
Add a debug highlight overlay to an element.
ClearHighlights
Remove all debug highlight overlays.
AuditAccessibility
Run an accessibility audit.
GetPerformance
Get performance metrics (timing, heap, DOM).
Trait Implementations§
Source§impl Clone for InspectAction
impl Clone for InspectAction
Source§fn clone(&self) -> InspectAction
fn clone(&self) -> InspectAction
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 InspectAction
impl Debug for InspectAction
Source§impl<'de> Deserialize<'de> for InspectAction
impl<'de> Deserialize<'de> for InspectAction
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 Display for InspectAction
impl Display for InspectAction
Source§impl JsonSchema for InspectAction
impl JsonSchema for InspectAction
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for InspectAction
impl PartialEq for InspectAction
Source§fn eq(&self, other: &InspectAction) -> bool
fn eq(&self, other: &InspectAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InspectAction
impl Serialize for InspectAction
impl Copy for InspectAction
impl Eq for InspectAction
impl StructuralPartialEq for InspectAction
Auto Trait Implementations§
impl Freeze for InspectAction
impl RefUnwindSafe for InspectAction
impl Send for InspectAction
impl Sync for InspectAction
impl Unpin for InspectAction
impl UnsafeUnpin for InspectAction
impl UnwindSafe for InspectAction
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