INNER CODE UNIT · Rust
title
kaplanelad/shellfirm · shellfirm/src/tui/tabs/mod.rs:60
fn title(&self) -> &str;
/// Returns Some(badge) for mode-specific tabs (AI / Wrap),
/// None for shared tabs.
fn mode_badge(&self) -> Option<&'static str> {
None
}
fn render(&self, area: Rect, buf: &mut Buffer, draft: &DraftSettings);
fn handle_key(&mut self, key: KeyEvent, draft: &mut DraftSettings) -> TabOutcome;
/// Description of the currently focused field. Used by the App to
/// render the bottom strip on a freshly-opened tab.
fn current_focus(&self) -> FieldFocus;
}