pub type State<P> = Plain<P>;
Expand description
The internal state of a Text
widget.
Aliased Type§
pub struct State<P> { /* private fields */ }
Implementations
Source§impl<P: Paragraph> Plain<P>
impl<P: Paragraph> Plain<P>
Sourcepub fn min_bounds(&self) -> Size
pub fn min_bounds(&self) -> Size
Returns the minimum boundaries that can fit the contents of the
Paragraph
.
Sourcepub fn min_width(&self) -> f32
pub fn min_width(&self) -> f32
Returns the minimum width that can fit the contents of the
Paragraph
.
Sourcepub fn min_height(&self) -> f32
pub fn min_height(&self) -> f32
Returns the minimum height that can fit the contents of the
Paragraph
.