pub struct EventListenerBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> EventListenerBuilder<'a>
impl<'a> EventListenerBuilder<'a>
Sourcepub fn handler(self, handler: RemoteObject) -> Self
pub fn handler(self, handler: RemoteObject) -> Self
Event handler function value.
Sourcepub fn originalHandler(self, originalHandler: RemoteObject) -> Self
pub fn originalHandler(self, originalHandler: RemoteObject) -> Self
Event original handler function value.
Sourcepub fn backendNodeId(self, backendNodeId: BackendNodeId) -> Self
pub fn backendNodeId(self, backendNodeId: BackendNodeId) -> Self
Node the listener is added to (if any).
pub fn build(self) -> EventListener<'a>
Auto Trait Implementations§
impl<'a> Freeze for EventListenerBuilder<'a>
impl<'a> RefUnwindSafe for EventListenerBuilder<'a>
impl<'a> Send for EventListenerBuilder<'a>
impl<'a> Sync for EventListenerBuilder<'a>
impl<'a> Unpin for EventListenerBuilder<'a>
impl<'a> UnsafeUnpin for EventListenerBuilder<'a>
impl<'a> UnwindSafe for EventListenerBuilder<'a>
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