pub struct HelpLine { /* private fields */ }Implementations§
Source§impl HelpLine
impl HelpLine
Sourcepub fn new(settings: &Settings) -> Self
pub fn new(settings: &Settings) -> Self
Create a new HelpLine based on the provided settings.
§Panics
Panics if there is no keybinding for quitting the application. But that’s good: it’s better to die if the user can’t kill the app…
pub fn markdown(&self, state: &MissionState<'_, '_>) -> String
Auto Trait Implementations§
impl Freeze for HelpLine
impl RefUnwindSafe for HelpLine
impl Send for HelpLine
impl Sync for HelpLine
impl Unpin for HelpLine
impl UnwindSafe for HelpLine
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