Trait glib::subclass::shared::RefCounted[][src]

pub unsafe trait RefCounted: Clone + Sized + 'static {
    type InnerType;
    unsafe fn ref_(this: *const Self::InnerType) -> *const Self::InnerType;
unsafe fn into_raw(self) -> *const Self::InnerType;
unsafe fn from_raw(this: *const Self::InnerType) -> Self; }

Associated Types

The inner type

Required methods

The function used to increment the inner type refcount

Converts the RefCounted object to a raw pointer to InnerType

Converts a raw pointer to InnerType to a RefCounted object

Implementations on Foreign Types

Implementors