1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[derive(Copy, Clone)] pub struct Delimiters { pub start: &'static str, pub end: &'static str, } impl Delimiters { pub fn new(start: &'static str, end: &'static str) -> Delimiters { Delimiters { start: start, end: end, } } }