Struct glib::object::ObjectBuilder

source ·
pub struct ObjectBuilder<'a, O> { /* private fields */ }

Implementations§

Gets the type of this builder.

Set property name to the given value value.

Build the object with the provided properties.

Panics

This panics if the object is not instantiable, doesn’t have all the given properties or property values of the wrong type are provided.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.