Expand description
A text element, where the style of the text
can be controlled. A single RichText
element can have
several different parts, each styled differently.
Create a new RichText
element.
Create a new Text
element of an appropriate
size for a single line.
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Update the cells in grid
to describe how a type should be rendered.
Returns the size in cells of the rectangle containing a ui element.
This allows for the implementation of decorator ui components that
render a border around some inner element.
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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
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.