pub struct SetInspectModeParams {
pub mode: InspectMode,
pub highlight_config: Option<HighlightConfig>,
}Expand description
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
Parameters of Overlay.setInspectMode.
Fields§
§mode: InspectModeSet an inspection mode.
highlight_config: Option<HighlightConfig>A descriptor for the highlight appearance of hovered-over nodes. May be
omitted if enabled == false.
Trait Implementations§
Source§impl Clone for SetInspectModeParams
impl Clone for SetInspectModeParams
Source§impl Command for SetInspectModeParams
impl Command for SetInspectModeParams
Source§impl Debug for SetInspectModeParams
impl Debug for SetInspectModeParams
Source§impl<'de> Deserialize<'de> for SetInspectModeParams
impl<'de> Deserialize<'de> for SetInspectModeParams
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 SetInspectModeParams
impl PartialEq for SetInspectModeParams
Source§impl Serialize for SetInspectModeParams
impl Serialize for SetInspectModeParams
impl StructuralPartialEq for SetInspectModeParams
Auto Trait Implementations§
impl Forget for SetInspectModeParams
impl Freeze for SetInspectModeParams
impl RefUnwindSafe for SetInspectModeParams
impl Send for SetInspectModeParams
impl Sync for SetInspectModeParams
impl Unpin for SetInspectModeParams
impl UnsafeUnpin for SetInspectModeParams
impl UnwindSafe for SetInspectModeParams
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