Public declaration syntax from harness-tui-kit/src/components/system/hint_bar.rs Original source SHA-256: cf0823e78394b29e32cf04d707fc49b047ff04765d882b05780cd2399d05abc5 Function bodies and constant values are omitted. This is not the complete implementation. Source line 25 #[derive(Debug, Clone)] pub struct HintItem { /// Keystroke label (e.g. `"tab"`, `"ctrl+p"`). pub key: String, /// What the key does (e.g. `"agents"`, `"commands"`). pub action: String } Source line 35 #[must_use] pub fn new(key: impl Into, action: impl Into) -> Self; Source line 44 #[must_use] pub fn width(&self) -> u16; Source line 51 #[derive(Debug, Clone)] pub struct HintBar<'a> { } Source line 64 #[must_use] pub fn new(items: &'a [HintItem]) -> Self; Source line 75 #[must_use] pub fn theme(mut self, theme: &'a Theme) -> Self; Source line 82 #[must_use] pub fn right_align(mut self, on: bool) -> Self; Source line 89 #[must_use] pub fn item_gap(mut self, gap: u16) -> Self; Source line 96 #[must_use] pub fn measured_width(&self) -> u16;