[][src]Struct glib::subclass::types::TypeData

pub struct TypeData { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.