fixedwidth

Function fixedwidth 

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

Pads or truncates text to exactly width characters.