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
Sourcepub fn select_window_row(&mut self, win_idx: Option<usize>)
pub fn select_window_row(&mut self, win_idx: Option<usize>)
ウィンドウ win_idx の行を選ぶ(無ければ先頭の行)。Break キーで一覧を開いたときに、前面のアプリを選んでおく。
Sourcefn kill_selected(&mut self)
fn kill_selected(&mut self)
選んだ行のアプリ(ウィンドウ)を強制終了する。ターミナルなどウィンドウの無い行は何もしない。 【2026-11-18 TODO R2 (d)】タブの行なら、そのタブだけを止める(ウィンドウとほかのタブは残す)。
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