pub struct HelpOverlay { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Overlay for HelpOverlay
impl Overlay for HelpOverlay
fn handle_key(&mut self, key: KeyEvent) -> OverlayOutcome
Source§fn render(&self, _width: u16, height: u16) -> OverlayFrame
fn render(&self, _width: u16, height: u16) -> OverlayFrame
Render against a (width, height) viewport. Height includes the status row.
fn handle_mouse(&mut self, ev: MouseEvent, _body_rows: u16) -> OverlayOutcome
fn title(&self) -> Cow<'_, str>
Source§fn refresh(&mut self, _ctx: OverlayContext<'_>)
fn refresh(&mut self, _ctx: OverlayContext<'_>)
Called after
Apply(cmd) dispatches, so the overlay can re-derive
state (e.g. picker rebuilds visible after a DropFileAt).Auto Trait Implementations§
impl !Freeze for HelpOverlay
impl !RefUnwindSafe for HelpOverlay
impl Send for HelpOverlay
impl !Sync for HelpOverlay
impl Unpin for HelpOverlay
impl UnsafeUnpin for HelpOverlay
impl UnwindSafe for HelpOverlay
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