Struct intelli_shell::widgets::SearchWidget
source · pub struct SearchWidget<'s> { /* private fields */ }Expand description
Widget to search for Command
Implementations§
source§impl<'s> SearchWidget<'s>
impl<'s> SearchWidget<'s>
pub fn new(storage: &'s mut SqliteStorage, filter: String) -> Result<Self>
Trait Implementations§
source§impl<'s> Widget for SearchWidget<'s>
impl<'s> Widget for SearchWidget<'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