pub fn weakref(obj: &Variant) -> Variant
Use of weakref() is discouraged. See WeakRef for a detailed explanation and better alternatives.
weakref()
WeakRef