Function alinio::align::right

source · []
pub fn right(txt: &str, space: usize) -> Option<String>
Expand description

Aligns the text to the right

Will return None if there is not enough space to fit the text (length of txt > space)