pub trait WeakReferenceable: DomObject + Sized {
    fn downgrade(&self) -> WeakRef<Self> { ... }
}
Expand description

Trait implemented by weak-referenceable interfaces.

Provided Methods§

source

fn downgrade(&self) -> WeakRef<Self>

Downgrade a DOM object reference to a weak one.

Implementors§