cargo-port 0.1.4

A TUI for inspecting and managing Rust projects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::App;
use super::AppPaneId;
use super::CPU_TAB_ORDER;
use super::Pane;
use super::TabStop;
use super::cpu_is_tabbable;

/// `Pane<App>` host for the Cpu pane. No pane-local actions — see
/// `LangPane`.
pub(super) struct CpuPane;

impl Pane<App> for CpuPane {
    const APP_PANE_ID: AppPaneId = AppPaneId::Cpu;

    fn tab_stop() -> TabStop<App> { TabStop::ordered(CPU_TAB_ORDER, cpu_is_tabbable) }
}