pub struct SetInspectModeParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> SetInspectModeParams<'a>
impl<'a> SetInspectModeParams<'a>
pub fn builder(mode: InspectMode) -> SetInspectModeParamsBuilder<'a>
pub fn mode(&self) -> &InspectMode
pub fn highlightConfig(&self) -> Option<&HighlightConfig<'a>>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetInspectModeParams<'a>
impl<'a> CdpCommand<'a> for SetInspectModeParams<'a>
Source§impl<'a> Clone for SetInspectModeParams<'a>
impl<'a> Clone for SetInspectModeParams<'a>
Source§fn clone(&self) -> SetInspectModeParams<'a>
fn clone(&self) -> SetInspectModeParams<'a>
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<'a> Debug for SetInspectModeParams<'a>
impl<'a> Debug for SetInspectModeParams<'a>
Source§impl<'a> Default for SetInspectModeParams<'a>
impl<'a> Default for SetInspectModeParams<'a>
Source§fn default() -> SetInspectModeParams<'a>
fn default() -> SetInspectModeParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetInspectModeParams<'a>
impl<'de, 'a> Deserialize<'de> for SetInspectModeParams<'a>
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<'a> Freeze for SetInspectModeParams<'a>
impl<'a> RefUnwindSafe for SetInspectModeParams<'a>
impl<'a> Send for SetInspectModeParams<'a>
impl<'a> Sync for SetInspectModeParams<'a>
impl<'a> Unpin for SetInspectModeParams<'a>
impl<'a> UnsafeUnpin for SetInspectModeParams<'a>
impl<'a> UnwindSafe for SetInspectModeParams<'a>
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