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

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>

Notable traits for Infos<'a, F>

impl<'a, F> Iterator for Infos<'a, F> where
    F: for<'b> FnMut(&'b str, &'b Font<'static>, u32, f64) -> (Break, f64)
type Item = Info;
where
    F: for<'b> FnMut(&'b str, &'b Font<'static>, u32, f64) -> (Break, f64)

Produce an Infos iterator wrapped by the given next_break_fn.