Struct cdp::dom_debugger::EventListener [] [src]

pub struct EventListener<'a> {
    pub ty: Cow<'a, str>,
    pub use_capture: bool,
    pub passive: bool,
    pub once: bool,
    pub script_id: ScriptId<'a>,
    pub line_number: i32,
    pub column_number: i32,
    pub handler: Option<RemoteObject<'a>>,
    pub original_handler: Option<RemoteObject<'a>>,
    pub backend_node_id: Option<BackendNodeId>,
}

[Experimental] Object event listener.

Fields

EventListener's type.

EventListener's useCapture.

EventListener's passive flag.

EventListener's once flag.

Script id of the handler code.

Line number in the script (0-based).

Column number in the script (0-based).

Event handler function value.

Event original handler function value.

Node the listener is added to (if any).

Trait Implementations

impl<'a> Clone for EventListener<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for EventListener<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for EventListener<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.