[−][src]Struct glib::subclass::types::TypeData
Type-specific data that is filled in during type creation.
Methods
impl TypeData
[src][−]
pub fn get_type(&self) -> Type
[src][−]
Returns the type ID.
pub fn get_parent_class(&self) -> gpointer
[src][−]
Returns a pointer to the native parent class.
This is used for chaining up to the parent class' implementation of virtual methods.
pub fn get_interface_data(&self, type_: GType) -> gpointer
[src][−]
Returns a pointer to the interface implementation specific data.
This is used for interface implementations to store additional data.
pub fn get_private_offset(&self) -> isize
[src][−]
Returns the offset of the private struct in bytes relative to the beginning of the instance struct.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,