pub struct SystemMonitorPane {Show 15 fields
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub last_update_ticks: usize,
pub sort_col: SortColumn,
pub sort_asc: bool,
pub selected_idx: Option<usize>,
pub focused: bool,
pub last_mouse_btn: bool,
pub last_click_ms: u64,
pub wants_power_menu: bool,
pub core_loads: [u32; 4],
pub last_core_update_ticks: usize,
pub dhcp_status: String,
}Fields§
§x: i32§y: i32§width: u32§height: u32§last_update_ticks: usize§sort_col: SortColumn§sort_asc: bool§selected_idx: Option<usize>§focused: bool§last_mouse_btn: bool§last_click_ms: u64§core_loads: [u32; 4]§last_core_update_ticks: usize§dhcp_status: StringImplementations§
Source§impl SystemMonitorPane
impl SystemMonitorPane
pub fn new(x: i32, y: i32, w: u32, h: u32) -> Self
fn draw_process_list( &self, screen: &Screen, ux0: u32, y_start: u32, ux1: u32, uy1: u32, )
pub fn build_process_list(&self) -> Vec<ProcessInfo>
pub fn handle_mouse(&mut self, mx: i32, my: i32, btn_left: bool) -> bool
pub fn handle_key(&mut self, keycode: u8, _ascii: Option<char>) -> bool
fn activate_selected(&mut self)
Auto Trait Implementations§
impl Freeze for SystemMonitorPane
impl RefUnwindSafe for SystemMonitorPane
impl Send for SystemMonitorPane
impl Sync for SystemMonitorPane
impl Unpin for SystemMonitorPane
impl UnsafeUnpin for SystemMonitorPane
impl UnwindSafe for SystemMonitorPane
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more