pub struct Recorder<'a> { /* private fields */ }
Expand description
UI component to record the user’s changes.
Implementations§
Source§impl<'a> Recorder<'a>
impl<'a> Recorder<'a>
Sourcepub fn new(state: RecordState<'a>) -> Self
pub fn new(state: RecordState<'a>) -> Self
Constructor.
Sourcepub fn run(
self,
siv: CursiveRunner<CursiveRunnable>,
) -> Result<RecordState<'a>, RecordError>
pub fn run( self, siv: CursiveRunner<CursiveRunnable>, ) -> Result<RecordState<'a>, RecordError>
Run the terminal user interface and have the user interactively select changes.
Auto Trait Implementations§
impl<'a> Freeze for Recorder<'a>
impl<'a> RefUnwindSafe for Recorder<'a>
impl<'a> Send for Recorder<'a>
impl<'a> Sync for Recorder<'a>
impl<'a> Unpin for Recorder<'a>
impl<'a> UnwindSafe for Recorder<'a>
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