Trait gobject_subclass::object::Instance [−][src]
pub unsafe trait Instance<T: ObjectType> { fn parent(&self) -> &<T::ParentType as Wrapper>::GlibType; fn get_impl(&self) -> &<T as ObjectType>::ImplType; unsafe fn set_impl(&mut self, imp: NonNull<T::ImplType>); unsafe fn get_class(&self) -> *const ClassStruct<T>; }
Required Methods
fn parent(&self) -> &<T::ParentType as Wrapper>::GlibType
fn get_impl(&self) -> &<T as ObjectType>::ImplType
unsafe fn set_impl(&mut self, imp: NonNull<T::ImplType>)
unsafe fn get_class(&self) -> *const ClassStruct<T>
Implementors
impl<T: ObjectType> Instance<T> for InstanceStruct<T>