Function cursive::utils::simple_suffix_length [] [src]

pub fn simple_suffix_length(text: &str, width: usize) -> usize

Computes the length of a suffix that fits in the given width.

Breaks between any two graphemes.