Create a new column with the given header. # Arguments `header` - The column header text # Returns A new column with default alignment (left) and no width constraints.
(header: S)
| 129 | /// |
| 130 | /// A new column with default alignment (left) and no width constraints. |
| 131 | pub fn new<S: Into<String>>(header: S) -> Self { |
| 132 | Self { |
| 133 | header: header.into(), |
| 134 | alignment: Alignment::Left, |
| 135 | min_width: 0, |
| 136 | max_width: 0, |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | /// Set the alignment for this column. |
| 141 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected