Skip to main content

rjust

Function rjust 

Source
pub fn rjust<D: Dimension>(
    a: &StringArray<D>,
    width: usize,
) -> FerrayResult<StringArray<D>>
Expand description

Right-justify each string in a field of the given width, padded with spaces.

If the string is already longer than width, it is returned unchanged.

ยงErrors

Returns an error if the internal array construction fails.