Trait libadwaita::subclass::prelude::RefCounted
source · [−]pub unsafe trait RefCounted: 'static + Clone {
type InnerType;
unsafe fn ref_(this: *const Self::InnerType) -> *const Self::InnerType;
unsafe fn as_ptr(&self) -> *const Self::InnerType;
unsafe fn into_raw(self) -> *const Self::InnerType;
unsafe fn from_raw(this: *const Self::InnerType) -> Self;
}
Associated Types
Required methods
The function used to increment the inner type refcount
Provides access to a raw pointer to InnerType
Converts the RefCounted object to a raw pointer to InnerType