aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
blob: 8b8fa52dfdccb95067f329a6d960f510868769e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// default values on structs please ;_;
pub struct State {
    pub full: bool,
    pub lang: String,
}

impl State {
    pub fn new() -> State {
        return State {
            full: false,
            lang: String::from("English"),
        }
    }
}