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
ty: Cow<'a, str>
EventListener
's type.
use_capture: bool
EventListener
's useCapture.
passive: bool
EventListener
's passive flag.
once: bool
EventListener
's once flag.
script_id: ScriptId<'a>
Script id of the handler code.
line_number: i32
Line number in the script (0-based).
column_number: i32
Column number in the script (0-based).
handler: Option<RemoteObject<'a>>
Event handler function value.
original_handler: Option<RemoteObject<'a>>
Event original handler function value.
backend_node_id: Option<BackendNodeId>
Node the listener is added to (if any).
Trait Implementations
impl<'a> Clone for EventListener<'a>
[src]
fn clone(&self) -> EventListener<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for EventListener<'a>
[src]
impl<'a> PartialEq for EventListener<'a>
[src]
fn eq(&self, __arg_0: &EventListener<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EventListener<'a>) -> bool
[src]
This method tests for !=
.