pub struct WeakRef<T: ObjectType>(_, _);
Expand description
A weak reference to an object.
Implementations§
Trait Implementations§
source§impl<T: ObjectType> Clone for WeakRef<T>
impl<T: ObjectType> Clone for WeakRef<T>
source§impl<T: ObjectType> Default for WeakRef<T>
impl<T: ObjectType> Default for WeakRef<T>
source§impl<T: ObjectType> Drop for WeakRef<T>
impl<T: ObjectType> Drop for WeakRef<T>
source§impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>
impl<T: ObjectType> From<WeakRef<T>> for SendWeakRef<T>
source§fn from(v: WeakRef<T>) -> SendWeakRef<T>
fn from(v: WeakRef<T>) -> SendWeakRef<T>
Converts to this type from the input type.
source§impl<T: ObjectType> PartialEq<T> for WeakRef<T>
impl<T: ObjectType> PartialEq<T> for WeakRef<T>
source§impl<T: ObjectType> PartialEq<WeakRef<T>> for WeakRef<T>
impl<T: ObjectType> PartialEq<WeakRef<T>> for WeakRef<T>
source§impl<T: ObjectType> PartialOrd<WeakRef<T>> for WeakRef<T>
impl<T: ObjectType> PartialOrd<WeakRef<T>> for WeakRef<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more