Struct intelli_shell::widgets::SaveCommandWidget
source · pub struct SaveCommandWidget<'s> { /* private fields */ }Expand description
Widget to save a new Command
If both command and description are provided upon initialization, this widget will show no UI. If the description is missing, it will ask for it.
Implementations§
source§impl<'s> SaveCommandWidget<'s>
impl<'s> SaveCommandWidget<'s>
Trait Implementations§
source§impl<'s> Widget for SaveCommandWidget<'s>
impl<'s> Widget for SaveCommandWidget<'s>
source§fn min_height(&self) -> usize
fn min_height(&self) -> usize
Minimum height needed to render the widget
source§fn render<B: Backend>(
&mut self,
frame: &mut Frame<'_, B>,
area: Rect,
inline: bool,
theme: Theme
)
fn render<B: Backend>( &mut self, frame: &mut Frame<'_, B>, area: Rect, inline: bool, theme: Theme )
Render
self in the given area from the frame