pub enum ListenerTarget {
Window,
Document,
Element(ElementHandle),
}Variants§
Trait Implementations§
Source§impl Clone for ListenerTarget
impl Clone for ListenerTarget
Source§fn clone(&self) -> ListenerTarget
fn clone(&self) -> ListenerTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListenerTarget
impl Debug for ListenerTarget
Source§impl PartialEq for ListenerTarget
impl PartialEq for ListenerTarget
impl Copy for ListenerTarget
impl Eq for ListenerTarget
impl StructuralPartialEq for ListenerTarget
Auto Trait Implementations§
impl Freeze for ListenerTarget
impl RefUnwindSafe for ListenerTarget
impl Send for ListenerTarget
impl Sync for ListenerTarget
impl Unpin for ListenerTarget
impl UnsafeUnpin for ListenerTarget
impl UnwindSafe for ListenerTarget
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