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

pub fn infos<'a>(
    text: &'a str,
    font: &'a Font,
    font_size: FontSize
) -> Infos<'a, NextBreakFnPtr>

Produce an Infos iterator that yields an Info for every line in the given text.

The produced Infos iterator will not wrap the text, and only break each line via newline characters within the text (either \n or \r\n).