pub enum ElementOrWindow<'a, Element, Window> {
    Element(&'a Element),
    Window(&'a Window),
}Variants§
Element(&'a Element)
Window(&'a Window)
Trait Implementations§
Source§impl<'a, Element: Clone, Window: Clone> Clone for ElementOrWindow<'a, Element, Window>
 
impl<'a, Element: Clone, Window: Clone> Clone for ElementOrWindow<'a, Element, Window>
Source§fn clone(&self) -> ElementOrWindow<'a, Element, Window>
 
fn clone(&self) -> ElementOrWindow<'a, Element, Window>
Returns a copy 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<'a> From<&ElementOrWindow<'a, Element, Window>> for DomElementOrWindow<'a>
 
impl<'a> From<&ElementOrWindow<'a, Element, Window>> for DomElementOrWindow<'a>
Source§impl<'a> From<&ElementOrWindow<'a, Element, Window>> for DomNodeOrWindow<'a>
 
impl<'a> From<&ElementOrWindow<'a, Element, Window>> for DomNodeOrWindow<'a>
Source§impl<'a, Element, Window> From<&'a OwnedElementOrWindow<Element, Window>> for ElementOrWindow<'a, Element, Window>
 
impl<'a, Element, Window> From<&'a OwnedElementOrWindow<Element, Window>> for ElementOrWindow<'a, Element, Window>
Source§fn from(value: &'a OwnedElementOrWindow<Element, Window>) -> Self
 
fn from(value: &'a OwnedElementOrWindow<Element, Window>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<ElementOrWindow<'a, Element, Window>> for DomElementOrWindow<'a>
 
impl<'a> From<ElementOrWindow<'a, Element, Window>> for DomElementOrWindow<'a>
Source§impl<'a> From<ElementOrWindow<'a, Element, Window>> for DomNodeOrWindow<'a>
 
impl<'a> From<ElementOrWindow<'a, Element, Window>> for DomNodeOrWindow<'a>
Source§impl<'a, Element: PartialEq, Window: PartialEq> PartialEq for ElementOrWindow<'a, Element, Window>
 
impl<'a, Element: PartialEq, Window: PartialEq> PartialEq for ElementOrWindow<'a, Element, Window>
Source§fn eq(&self, other: &ElementOrWindow<'a, Element, Window>) -> bool
 
fn eq(&self, other: &ElementOrWindow<'a, Element, Window>) -> bool
Tests for 
self and other values to be equal, and is used by ==.impl<'a, Element, Window> StructuralPartialEq for ElementOrWindow<'a, Element, Window>
Auto Trait Implementations§
impl<'a, Element, Window> Freeze for ElementOrWindow<'a, Element, Window>
impl<'a, Element, Window> RefUnwindSafe for ElementOrWindow<'a, Element, Window>where
    Element: RefUnwindSafe,
    Window: RefUnwindSafe,
impl<'a, Element, Window> Send for ElementOrWindow<'a, Element, Window>
impl<'a, Element, Window> Sync for ElementOrWindow<'a, Element, Window>
impl<'a, Element, Window> Unpin for ElementOrWindow<'a, Element, Window>
impl<'a, Element, Window> UnwindSafe for ElementOrWindow<'a, Element, Window>where
    Element: RefUnwindSafe,
    Window: RefUnwindSafe,
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