Struct intelli_shell::process::LabelProcess
source · pub struct LabelProcess<'s> { /* private fields */ }Expand description
Process to complete LabeledCommand
Implementations§
source§impl<'s> LabelProcess<'s>
impl<'s> LabelProcess<'s>
pub fn new( storage: &'s SqliteStorage, command: LabeledCommand, ctx: ExecutionContext ) -> Result<Self>
Trait Implementations§
source§impl<'s> Process for LabelProcess<'s>
impl<'s> Process for LabelProcess<'s>
source§fn min_height(&self) -> usize
fn min_height(&self) -> usize
Minimum height needed to render the process
source§fn render<B: Backend>(&mut self, frame: &mut Frame<'_, B>, area: Rect)
fn render<B: Backend>(&mut self, frame: &mut Frame<'_, B>, area: Rect)
Render
self in the given area from the framesource§fn process_raw_event(&mut self, event: Event) -> Result<Option<ProcessOutput>>
fn process_raw_event(&mut self, event: Event) -> Result<Option<ProcessOutput>>
Auto Trait Implementations§
impl<'s> RefUnwindSafe for LabelProcess<'s>
impl<'s> Send for LabelProcess<'s>
impl<'s> Sync for LabelProcess<'s>
impl<'s> Unpin for LabelProcess<'s>
impl<'s> UnwindSafe for LabelProcess<'s>
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