diff options
Diffstat (limited to 'src/widgets.rs')
-rw-r--r-- | src/widgets.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/widgets.rs b/src/widgets.rs index a477e1d2..21cf0479 100644 --- a/src/widgets.rs +++ b/src/widgets.rs @@ -13,11 +13,3 @@ pub use mem_graph::*; pub use net_graph::*; pub use process_table::*; pub use temperature_table::*; - -use tui::{layout::Rect, Frame}; - -/// A [`Widget`] converts raw data into something that a user can see and interact with. -pub trait Widget<Data> { - /// How to actually draw the widget to the terminal. - fn draw(&self, f: &mut Frame<'_>, draw_location: Rect, widget_id: u64); -} |