Skip to main content

wrap_label

Function wrap_label 

Source
pub fn wrap_label(text: &str, width: usize) -> String
Expand description

Greedy word wrap at width characters (strwrap), lines joined by \n.