truncate

Function truncate 

Source
pub fn truncate(s: &str, options: Option<TruncateOptions<'_>>) -> String