Trait array_tool::string::Justify[][src]

pub trait Justify {
    fn justify_line(&self, width: usize) -> String;
}
Expand description

Justify - expand line to given width.

Required methods

Example

use array_tool::string::Justify;

"asd asdf asd".justify_line(14);

Output

"asd  asdf  asd"

Implementations on Foreign Types

Implementors