diff options
Diffstat (limited to 'src/widgets/process_table.rs')
-rw-r--r-- | src/widgets/process_table.rs | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/widgets/process_table.rs b/src/widgets/process_table.rs index 2818ad79..172597ca 100644 --- a/src/widgets/process_table.rs +++ b/src/widgets/process_table.rs @@ -1,9 +1,16 @@ +pub mod proc_widget_column; +pub mod proc_widget_data; +mod sort_table; + use std::{borrow::Cow, collections::BTreeMap}; use hashbrown::{HashMap, HashSet}; use indexmap::IndexSet; use itertools::Itertools; +pub use proc_widget_column::*; +pub use proc_widget_data::*; use serde::{de::Error, Deserialize}; +use sort_table::SortTableColumn; use crate::{ app::{ @@ -22,15 +29,6 @@ use crate::{ Pid, }; -pub mod proc_widget_column; -pub use proc_widget_column::*; - -pub mod proc_widget_data; -pub use proc_widget_data::*; - -mod sort_table; -use sort_table::SortTableColumn; - /// ProcessSearchState only deals with process' search's current settings and state. pub struct ProcessSearchState { pub search_state: AppSearchState, |