Struct termimad::Spacing [−][src]
Fields
width: usize
align: Alignment
Implementations
compute the number of chars to add left and write of inner_width to fill outer_width
pub fn optional_completions(
align: Alignment,
inner_width: usize,
outer_width: Option<usize>
) -> (usize, usize)
pub fn write_counted_str<W>(
&self,
w: &mut W,
s: &str,
str_width: usize,
style: &CompoundStyle
) -> Result<(), Error> where
W: Write,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Spacing
impl UnwindSafe for Spacing
Blanket Implementations
Mutably borrows from an owned value. Read more