diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2024-01-02 01:13:02 -0500 |
---|---|---|
committer | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2024-01-02 01:13:02 -0500 |
commit | c730048c7a0a5ab2eb657fee2649d7b22e73652d (patch) | |
tree | e75b7e0e03f64e797bcc5a85195a2ffe8728cdb7 /src/widgets.rs | |
parent | dbadbb996cb8d55d842b9632126c031f39596453 (diff) |
temp worktuine_yet_again
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); -} |