pub unsafe trait Refcounted {
type Rc: Refcount;
// Required method
unsafe fn refcount_metadata(&self) -> <Self::Rc as Refcount>::Metadata;
}
Expand description
Required Associated Types§
Required Methods§
Sourceunsafe fn refcount_metadata(&self) -> <Self::Rc as Refcount>::Metadata
unsafe fn refcount_metadata(&self) -> <Self::Rc as Refcount>::Metadata
Metadata used internally by Refcount
implementations.
This metadata can be used to implement dynamic extensions to the
refcount type, such as finalize
support or RTTI.