[][src]Trait glib::clone::Downgrade

pub trait Downgrade where
    Self: Sized
{ type Weak; fn downgrade(&self) -> Self::Weak; }

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

Associated Types

type Weak

Weak reference type.

Loading content...

Required methods

fn downgrade(&self) -> Self::Weak

Downgrade to a weak reference.

Loading content...

Implementations on Foreign Types

impl<T: Downgrade, '_> Downgrade for &'_ T[src]

type Weak = T::Weak

impl<T> Downgrade for Arc<T>[src]

type Weak = Weak<T>

impl<T> Downgrade for Rc<T>[src]

type Weak = Weak<T>

Loading content...

Implementors

Loading content...