Struct chrome_remote_interface_model::dom_debugger::EventListener[][src]

pub struct EventListener { /* fields omitted */ }
This is supported on crate features DOMDebugger and DOM and Debugger and Runtime only.

Object event listener.

Implementations

impl EventListener[src]

pub fn builder() -> EventListenerBuilder[src]

pub fn type(&self) -> &str[src]

EventListener's type.

pub fn use_capture(&self) -> bool[src]

EventListener's useCapture.

pub fn passive(&self) -> bool[src]

EventListener's passive flag.

pub fn once(&self) -> bool[src]

EventListener's once flag.

pub fn script_id(&self) -> &ScriptId[src]

Script id of the handler code.

pub fn line_number(&self) -> u32[src]

Line number in the script (0-based).

pub fn column_number(&self) -> u32[src]

Column number in the script (0-based).

pub fn handler(&self) -> Option<&RemoteObject>[src]

Event handler function value.

pub fn original_handler(&self) -> Option<&RemoteObject>[src]

Event original handler function value.

pub fn backend_node_id(&self) -> Option<&BackendNodeId>[src]

Node the listener is added to (if any).

Trait Implementations

impl Clone for EventListener[src]

impl Debug for EventListener[src]

impl<'de> Deserialize<'de> for EventListener[src]

impl Serialize for EventListener[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.