diff options
Diffstat (limited to 'src/state.rs')
-rw-r--r-- | src/state.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs new file mode 100644 index 0000000..8b8fa52 --- /dev/null +++ b/src/state.rs @@ -0,0 +1,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"), + } + } +} |