project restructure with Rust workspaces
This commit is contained in:
parent
3ffbe876f3
commit
09f72622bc
428 changed files with 19372 additions and 6061 deletions
|
|
@ -1,15 +0,0 @@
|
|||
pub enum TrayMenuItem {
|
||||
Restart,
|
||||
Settings,
|
||||
Exit,
|
||||
}
|
||||
|
||||
impl TrayMenuItem {
|
||||
pub fn label(&self) -> &str {
|
||||
match *self {
|
||||
TrayMenuItem::Restart => "Перезапустить",
|
||||
TrayMenuItem::Settings => "Настройки",
|
||||
TrayMenuItem::Exit => "Выход",
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue