pub(crate) fn split_and_apply(
    line: &str,
    max_len: usize,
    tab_width: usize,
    styles: &[(SingleLineSpan, Style)],
    side: Side
) -> Vec<String>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
Expand description

Split line (from the source code) into multiple lines of max_len (i.e. word wrapping), and apply styles to each part according to its original position in line.