Enum comfy_table::Width [−][src]
Variants
A fixed amount of characters. This can be used to specify an upper/lower boundary as well as a fixed size for the column.
Tuple Fields of Fixed
0: u16
A width equivalent to a certain percentage of the available width. Values above 100 will be automatically reduced to 100.
This can be used to specify an upper/lower boundary as well as a fixed size for the column.
Warning: This option will be ignored if:
- you aren’t using one of ContentArrangement::{Dynamic, DynamicFullWidth}
- the width of the table/terminal cannot be determined.
Tuple Fields of Percentage
0: u16
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Width
impl UnwindSafe for Width
Blanket Implementations
Mutably borrows from an owned value. Read more