pub struct EditCommandProcess<'s> { /* private fields */ }
Expand description
Process to edit a Command
Implementations§
Source§impl<'s> EditCommandProcess<'s>
impl<'s> EditCommandProcess<'s>
pub fn new( storage: &'s SqliteStorage, command: Command, ctx: ExecutionContext, ) -> Result<Self>
Trait Implementations§
Source§impl<'s> Process for EditCommandProcess<'s>
impl<'s> Process for EditCommandProcess<'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 EditCommandProcess<'s>
impl<'s> RefUnwindSafe for EditCommandProcess<'s>
impl<'s> Send for EditCommandProcess<'s>
impl<'s> Sync for EditCommandProcess<'s>
impl<'s> Unpin for EditCommandProcess<'s>
impl<'s> UnwindSafe for EditCommandProcess<'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