pub enum OwnedElementOrWindow<Element, Window> {
    Element(Element),
    Window(Window),
}Variants§
Trait Implementations§
source§impl<Element: Clone, Window: Clone> Clone for OwnedElementOrWindow<Element, Window>
 
impl<Element: Clone, Window: Clone> Clone for OwnedElementOrWindow<Element, Window>
source§fn clone(&self) -> OwnedElementOrWindow<Element, Window>
 
fn clone(&self) -> OwnedElementOrWindow<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, 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.
Auto Trait Implementations§
impl<Element, Window> Freeze for OwnedElementOrWindow<Element, Window>
impl<Element, Window> RefUnwindSafe for OwnedElementOrWindow<Element, Window>where
    Element: RefUnwindSafe,
    Window: RefUnwindSafe,
impl<Element, Window> Send for OwnedElementOrWindow<Element, Window>
impl<Element, Window> Sync for OwnedElementOrWindow<Element, Window>
impl<Element, Window> Unpin for OwnedElementOrWindow<Element, Window>
impl<Element, Window> UnwindSafe for OwnedElementOrWindow<Element, Window>where
    Element: UnwindSafe,
    Window: UnwindSafe,
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