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

pub struct InitializingObject<T: ObjectSubclass>(_);
Expand description

An object that is currently being initialized.

Binding crates should use traits for adding methods to this struct. Only methods explicitly safe to call during instance_init() should be added.

Implementations

Returns a reference to the object.

Safety

The returned object has not been completely initialized at this point. Use of the object should be restricted to methods that are explicitly documented to be safe to call during instance_init().

Returns a pointer to the object.

Safety

The returned object has not been completely initialized at this point. Use of the object should be restricted to methods that are explicitly documented to be safe to call during instance_init().

Sets instance specific implementation data.

Panics

If the instance_data already contains a data for the specified type_.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.