Struct intelli_shell::widgets::FetchWidget
source · pub struct FetchWidget<'a> { /* private fields */ }Expand description
Widget to fetch new commands
This widget will provide no UI, it will perform the job on peek
Implementations§
source§impl<'a> FetchWidget<'a>
impl<'a> FetchWidget<'a>
pub fn new(category: Option<String>, storage: &'a mut SqliteStorage) -> Self
Trait Implementations§
source§impl<'a> Widget for FetchWidget<'a>
impl<'a> Widget for FetchWidget<'a>
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