Expand description
Module that contains the basic infrastructure for subclassing GObject
.
Macros§
Structs§
- An object that is currently being initialized.
- A newly registered
glib::Type
that is currently still being initialized. - Struct used for the instance private data of the GObject.
- Type-specific data that is filled in during type creation.
Traits§
- Trait implemented by structs that implement a
GObject
C class struct. - Helper trait for macros to access a subclass or its wrapper.
- Trait implemented by structs that implement a
GObject
C instance struct. - Trait implemented by any type implementing
InstanceStruct
to return the implementation, private Rust struct. - Trait for a type list of interfaces.
- Trait implemented by structs that implement a
GTypeInterface
C class struct. - Trait for implementable interfaces.
- Trait for subclassable class structs.
- The central trait for subclassing a
GObject
type. - Extension methods for all
ObjectSubclass
impls. - Trait implemented by any type implementing
ObjectSubclassIs
to return the implementation, private Rust struct. - Type methods required for an
ObjectSubclass
implementation.
Functions§
- class_
init 🔒 ⚠ - finalize 🔒 ⚠
- instance_
init 🔒 ⚠ - interface_
init 🔒 ⚠ - Offset
ptr
byoffset
bytes and cast the result to*const U
. - Offset
ptr
byoffset
bytes and cast the result to*mut U
. - Registers a
glib::Type
ID forT
as a dynamic type. - Register a
glib::Type
ID forT
.