pub struct SetInspectModeParams {
pub mode: InspectMode,
pub highlightConfig: 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.
Fields§
§mode: InspectModeSet an inspection mode.
highlightConfig: Option<HighlightConfig>A descriptor for the highlight appearance of hovered-over nodes. May be omitted if ‘enabled == false’.
Implementations§
Trait Implementations§
Source§impl CdpCommand for SetInspectModeParams
impl CdpCommand for SetInspectModeParams
Source§impl Clone for SetInspectModeParams
impl Clone for SetInspectModeParams
Source§fn clone(&self) -> SetInspectModeParams
fn clone(&self) -> SetInspectModeParams
Returns a duplicate of the value. Read more
1.0.0 · 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 SetInspectModeParams
impl Debug for SetInspectModeParams
Source§impl Default for SetInspectModeParams
impl Default for SetInspectModeParams
Source§fn default() -> SetInspectModeParams
fn default() -> SetInspectModeParams
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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