Fields§
§width: usize
§align: Alignment
Implementations§
source§impl Spacing
impl Spacing
sourcepub const fn completions(
align: Alignment,
inner_width: usize,
outer_width: usize
) -> (usize, usize)
pub const fn completions(
align: Alignment,
inner_width: usize,
outer_width: usize
) -> (usize, usize)
compute the number of chars to add left and write of inner_width to fill outer_width