pub struct HelpContent {
pub short: String,
pub long: Option<String>,
pub keybindings: Vec<Keybinding>,
pub see_also: Vec<HelpId>,
}Expand description
Structured help content for a widget.
Fields§
§short: StringShort tooltip-length description (one line).
long: Option<String>Optional longer description shown in a detail panel.
keybindings: Vec<Keybinding>Keybindings available when this widget is focused.
see_also: Vec<HelpId>Related widget help IDs for “see also” links.
Implementations§
Trait Implementations§
Source§impl Clone for HelpContent
impl Clone for HelpContent
Source§impl Debug for HelpContent
impl Debug for HelpContent
impl Eq for HelpContent
Source§impl PartialEq for HelpContent
impl PartialEq for HelpContent
impl StructuralPartialEq for HelpContent
Auto Trait Implementations§
impl Freeze for HelpContent
impl RefUnwindSafe for HelpContent
impl Send for HelpContent
impl Sync for HelpContent
impl Unpin for HelpContent
impl UnsafeUnpin for HelpContent
impl UnwindSafe for HelpContent
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