[][src]Function nannou::ui::text::line::infos_wrapped_by

Important traits for Infos<'a, F>
pub fn infos_wrapped_by<F>(
    text: &'a str,
    font: &'a Font<'static>,
    font_size: u32,
    max_width: f64,
    next_break_fn: F
) -> Infos<'a, F> where
    F: for<'b, 'b> FnMut(&'b str, &'b Font<'static>, u32, f64) -> (Break, f64)

Produce an Infos iterator wrapped by the given next_break_fn.