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

pub fn infos_wrapped_by<'a, F>(
    text: &'a str,
    font: &'a Font,
    font_size: FontSize,
    max_width: Scalar,
    next_break_fn: F
) -> Infos<'a, F> where
    F: for<'b> FnMut(&'b str, &'b Font, FontSize, Scalar) -> NextBreak

Produce an Infos iterator wrapped by the given next_break_fn.