Trait glib::clone::Upgrade[][src]

pub trait Upgrade where
    Self: Sized
{ type Strong; fn upgrade(&self) -> Option<Self::Strong>; }
Expand description

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

Associated Types

Strong reference type.

Required methods

Try upgrading a weak reference to a strong reference.

Implementations on Foreign Types

Implementors