Struct chrome_remote_interface_model::dom_debugger::EventListenerBuilder[][src]

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

Implementations

impl EventListenerBuilder[src]

pub fn type(&mut self, v: String) -> &mut Self[src]

EventListener's type.

pub fn use_capture(&mut self, v: bool) -> &mut Self[src]

EventListener's useCapture.

pub fn passive(&mut self, v: bool) -> &mut Self[src]

EventListener's passive flag.

pub fn once(&mut self, v: bool) -> &mut Self[src]

EventListener's once flag.

pub fn script_id(&mut self, v: ScriptId) -> &mut Self[src]

Script id of the handler code.

pub fn line_number(&mut self, v: u32) -> &mut Self[src]

Line number in the script (0-based).

pub fn column_number(&mut self, v: u32) -> &mut Self[src]

Column number in the script (0-based).

pub fn handler(&mut self, v: RemoteObject) -> &mut Self[src]

Event handler function value.

pub fn original_handler(&mut self, v: RemoteObject) -> &mut Self[src]

Event original handler function value.

pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self[src]

Node the listener is added to (if any).

pub fn build(&mut self) -> Result<EventListener, &'static str>[src]

Trait Implementations

impl Clone for EventListenerBuilder[src]

impl Debug for EventListenerBuilder[src]

impl Default for EventListenerBuilder[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> 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.