Type Alias State
pub type State<P> = Plain<P>;
Available on crate feature advanced
only.
Expand description
The internal state of a Text
widget.
struct State<P> { }
Implementations
Creates a new Plain
paragraph.
Returns the horizontal alignment of the Paragraph
.
Returns the vertical alignment of the Paragraph
.
Returns the minimum boundaries that can fit the contents of the
Paragraph
.
Returns the minimum width that can fit the contents of the
Paragraph
.
Returns the minimum height that can fit the contents of the
Paragraph
.
Returns the current content of the plain Paragraph
.
Trait Implementations
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more