1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
use crate::traits::DelimiterSpaced;

#[derive(Debug)]
pub struct KebabCase {
    spacing_char: char,
}

impl DelimiterSpaced for KebabCase {
    fn spacing_char(&self) -> char {
        self.spacing_char
    }
}

impl Default for KebabCase {
    fn default() -> KebabCase {
        KebabCase { spacing_char: '-' }
    }
}