battery: Minor cleanup

This commit is contained in:
Kenny Levinsen
2023-01-11 23:54:39 +01:00
parent 0a4544a608
commit dd790468ad
2 changed files with 16 additions and 9 deletions
-1
View File
@@ -17,7 +17,6 @@ const BAR_SIZE: f32 = 24.;
pub trait BarWidgetImpl {
fn get_dirty(&self) -> bool;
fn set_dirty(&mut self, dirty: bool);
fn update(&mut self);
fn name(&self) -> &'static str;
fn value(&self) -> f32;
fn color(&self) -> Color;