pub enum NoPanel {}Expand description
For an app with no panels of its own: type Panel = NoPanel;.
Trait Implementations§
Source§impl Panel for NoPanel
impl Panel for NoPanel
Source§type Event = !
type Event = !
What the panel asks the app to do, handed to
App::panel_event.fn key(&mut self, _key: KeyEvent) -> PanelEvent<Self::Event>
Source§fn rows(&mut self, _w: usize, _h: usize) -> Vec<Row> ⓘ
fn rows(&mut self, _w: usize, _h: usize) -> Vec<Row> ⓘ
The panel for a
w×h screen: h rows, or fewer for a bottom panel.Source§fn full_screen(&self) -> bool
fn full_screen(&self) -> bool
Covers the whole screen (true), or replaces the input box like help
and settings do, with the output above it (false).
fn paste(&mut self, text: &str)
Auto Trait Implementations§
impl Freeze for NoPanel
impl RefUnwindSafe for NoPanel
impl Send for NoPanel
impl Sync for NoPanel
impl Unpin for NoPanel
impl UnsafeUnpin for NoPanel
impl UnwindSafe for NoPanel
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