#[repr(transparent)]
pub struct TemplateChild<T> where
    T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType>, 
{ /* private fields */ }

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Safety

Since the template child may not be properly bound, this cast is potentially dangerous if, for example, the template child isn’t bound or is of the wrong type. The caller is responsible for ensuring that the template child is bound and of the right type.

The resulting type after dereferencing.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.