pub struct DebugContainer<W>where
    W: Widget,
{ pub child: W, }

Fields

child: W

Implementations

Trait Implementations

This associated type is used to avoid recursive comparisons of the whole widget subtree (if one of the fields is itself a widget). Read more
Implementation should return the same unique TypeId for given structure definition, even if that structure contains generic parameters. This is used to preserve state between generic widgets. Read more
Assuming this trait was derived through #[derive(WidgetKind)] this associated type should be derived automatically by the compiler. This requires that TAIT feature is enabled. Read more

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
Convenience method used to type erase and box a widget.
This associated type is used to avoid recursive comparisons of the whole widget subtree (if one of the fields is itself a widget). 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.