pub enum OverlayEvents {
InspectNodeRequested(InspectNodeRequested),
NodeHighlightRequested(NodeHighlightRequested),
ScreenshotRequested(ScreenshotRequested),
InspectPanelShowRequested(InspectPanelShowRequested),
InspectedElementWindowRestored(InspectedElementWindowRestored),
InspectModeCanceled(InspectModeCanceled),
}Variants§
InspectNodeRequested(InspectNodeRequested)
NodeHighlightRequested(NodeHighlightRequested)
ScreenshotRequested(ScreenshotRequested)
InspectPanelShowRequested(InspectPanelShowRequested)
InspectedElementWindowRestored(InspectedElementWindowRestored)
InspectModeCanceled(InspectModeCanceled)
Implementations§
Source§impl OverlayEvents
impl OverlayEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for OverlayEvents
impl Clone for OverlayEvents
Source§fn clone(&self) -> OverlayEvents
fn clone(&self) -> OverlayEvents
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 OverlayEvents
impl Debug for OverlayEvents
Source§impl<'de> Deserialize<'de> for OverlayEvents
impl<'de> Deserialize<'de> for OverlayEvents
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 From<InspectModeCanceled> for OverlayEvents
impl From<InspectModeCanceled> for OverlayEvents
Source§fn from(v: InspectModeCanceled) -> Self
fn from(v: InspectModeCanceled) -> Self
Converts to this type from the input type.
Source§impl From<InspectNodeRequested> for OverlayEvents
impl From<InspectNodeRequested> for OverlayEvents
Source§fn from(v: InspectNodeRequested) -> Self
fn from(v: InspectNodeRequested) -> Self
Converts to this type from the input type.
Source§impl From<InspectPanelShowRequested> for OverlayEvents
impl From<InspectPanelShowRequested> for OverlayEvents
Source§fn from(v: InspectPanelShowRequested) -> Self
fn from(v: InspectPanelShowRequested) -> Self
Converts to this type from the input type.
Source§impl From<InspectedElementWindowRestored> for OverlayEvents
impl From<InspectedElementWindowRestored> for OverlayEvents
Source§fn from(v: InspectedElementWindowRestored) -> Self
fn from(v: InspectedElementWindowRestored) -> Self
Converts to this type from the input type.
Source§impl From<NodeHighlightRequested> for OverlayEvents
impl From<NodeHighlightRequested> for OverlayEvents
Source§fn from(v: NodeHighlightRequested) -> Self
fn from(v: NodeHighlightRequested) -> Self
Converts to this type from the input type.
Source§impl From<OverlayEvents> for BrowserProtocolEvents
impl From<OverlayEvents> for BrowserProtocolEvents
Source§fn from(v: OverlayEvents) -> Self
fn from(v: OverlayEvents) -> Self
Converts to this type from the input type.
Source§impl From<OverlayEvents> for Event
impl From<OverlayEvents> for Event
Source§fn from(v: OverlayEvents) -> Self
fn from(v: OverlayEvents) -> Self
Converts to this type from the input type.
Source§impl From<ScreenshotRequested> for OverlayEvents
impl From<ScreenshotRequested> for OverlayEvents
Source§fn from(v: ScreenshotRequested) -> Self
fn from(v: ScreenshotRequested) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OverlayEvents
impl PartialEq for OverlayEvents
Source§impl Serialize for OverlayEvents
impl Serialize for OverlayEvents
Source§impl TryFrom<BrowserProtocolEvents> for OverlayEvents
impl TryFrom<BrowserProtocolEvents> for OverlayEvents
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <OverlayEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <OverlayEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for OverlayEvents
impl TryFrom<Event> for OverlayEvents
Source§impl TryFrom<OverlayEvents> for InspectModeCanceled
impl TryFrom<OverlayEvents> for InspectModeCanceled
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <InspectModeCanceled as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <InspectModeCanceled as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<OverlayEvents> for InspectNodeRequested
impl TryFrom<OverlayEvents> for InspectNodeRequested
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <InspectNodeRequested as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <InspectNodeRequested as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<OverlayEvents> for InspectPanelShowRequested
impl TryFrom<OverlayEvents> for InspectPanelShowRequested
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <InspectPanelShowRequested as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <InspectPanelShowRequested as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<OverlayEvents> for InspectedElementWindowRestored
impl TryFrom<OverlayEvents> for InspectedElementWindowRestored
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <InspectedElementWindowRestored as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <InspectedElementWindowRestored as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<OverlayEvents> for NodeHighlightRequested
impl TryFrom<OverlayEvents> for NodeHighlightRequested
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <NodeHighlightRequested as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <NodeHighlightRequested as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<OverlayEvents> for ScreenshotRequested
impl TryFrom<OverlayEvents> for ScreenshotRequested
Source§type Error = OverlayEvents
type Error = OverlayEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayEvents,
) -> Result<Self, <ScreenshotRequested as TryFrom<OverlayEvents>>::Error>
fn try_from( e: OverlayEvents, ) -> Result<Self, <ScreenshotRequested as TryFrom<OverlayEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for OverlayEvents
Auto Trait Implementations§
impl Freeze for OverlayEvents
impl RefUnwindSafe for OverlayEvents
impl Send for OverlayEvents
impl Sync for OverlayEvents
impl Unpin for OverlayEvents
impl UnsafeUnpin for OverlayEvents
impl UnwindSafe for OverlayEvents
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