Struct glib::subclass::types::TypeData [−][src]
pub struct TypeData { /* fields omitted */ }
Expand description
Type-specific data that is filled in during type creation.
Implementations
Returns a pointer to the native parent class.
This is used for chaining up to the parent class’ implementation of virtual methods.
Returns a pointer to the native parent interface struct for interface type_
.
This is used for chaining up to the parent interface’s implementation of virtual methods.
Panics
This function panics if the type to which the TypeData
belongs does not implement the
given interface or was not registered yet.
Returns a pointer to the class implementation specific data.
This is used for class implementations to store additional data.
Gets a mutable reference of the class implementation specific data.
Safety
This can only be used while the type is being initialized.
Returns the offset of the private implementation struct in bytes relative to the beginning of the instance struct.