aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
blob: 59591f2fc6748bab288ca3ec13f6794abe277105 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub struct State {
    pub full: bool,
    pub lang: String,
}

impl State {
    // default values on structs please ;_;
    pub fn new() -> State {
        return State {
            full: false,
            lang: String::from("English"),
        }
    }
}