pub fn parse_cols_single_str(s: &str) -> Result<Cols, ConfError>
Expand description

return a Cols which tries to take the s setting into account but is guaranteed to have every Col exactly once.

Examples found in repository?
src/display/col.rs (line 150)
148
149
150
151
152
153
    fn try_from(cc: &ColsConf) -> Result<Self, Self::Error> {
        match cc {
            ColsConf::Compact(s) => parse_cols_single_str(s),
            ColsConf::Array(arr) => parse_cols(arr),
        }
    }