Trait gobject_subclass::object::ObjectType[][src]

pub trait ObjectType: FromGlibPtrBorrow<*mut Self::InstanceStructType> where
    Self: IsA<Object> + Sized + 'static,
    Self::InstanceStructType: Instance<Self>, 
{ type InstanceStructType: Instance<Self> + 'static; type ParentType: IsA<Object>; type ImplType: ObjectImpl<Self>; const NAME: &'static str; fn class_init(token: &ClassInitToken, klass: &mut ClassStruct<Self>);
unsafe fn get_instance(&self) -> *mut Self::InstanceStructType; fn get_impl(&self) -> &Self::ImplType { ... }
unsafe fn get_class(&self) -> *const ClassStruct<Self> { ... } }

Associated Types

Associated Constants

Required Methods

Provided Methods

Implementors