Function nannou::text::line::infos_maybe_wrapped
source · pub fn infos_maybe_wrapped<'a>(
text: &'a str,
font: &'a Font,
font_size: FontSize,
maybe_wrap: Option<Wrap>,
max_width: Scalar
) -> Infos<'a, NextBreakFnPtr> ⓘ
Expand description
Simplify the retrieval of line information for text that may or may not be wrapped.