Struct glib::object::SendWeakRef [−][src]
pub struct SendWeakRef<T: ObjectType>(_, _);
Expand description
A weak reference to the object it was created for that can be sent to
different threads even for object types that don’t implement Send
.
Trying to upgrade the weak reference from another thread than the one where it was created on will panic but dropping or cloning can be done safely from any thread.
Implementations
Methods from Deref<Target = WeakRef<T>>
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for SendWeakRef<T> where
T: RefUnwindSafe,
impl<T> Unpin for SendWeakRef<T>
impl<T> UnwindSafe for SendWeakRef<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more