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> Freeze for LabelProcess<'s>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more