Trait glib::clone::Downgrade

source ·
pub trait Downgradewhere
    Self: Sized,
{ type Weak; fn downgrade(&self) -> Self::Weak; }
Expand description

Trait for generalizing downgrading a strong reference to a weak reference.

Required Associated Types§

Weak reference type.

Required Methods§

Downgrade to a weak reference.

Implementations on Foreign Types§

Implementors§