1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum WrappingMode {
    Character,
    // The bool specifies whether wrapping has been explicitly disabled by the user via --wrap=never
    NoWrapping(bool),
}

impl Default for WrappingMode {
    fn default() -> Self {
        WrappingMode::NoWrapping(false)
    }
}