pub struct Screens {
pub monitor: fn(PathBuf, Option<PathBuf>, CancellationToken) -> Screen,
pub review: fn(PathBuf, Option<PathBuf>, ReviewerId, Option<RequestId>, CancellationToken) -> Screen,
}Expand description
The terminal screens artifactize monitor and artifactize review open. They live in
artifactize-tui, which the binary hands to run, so this library draws nothing.
Fields§
§monitor: fn(PathBuf, Option<PathBuf>, CancellationToken) -> ScreenThe Monitor over the state directory, on one repository or on every one.
review: fn(PathBuf, Option<PathBuf>, ReviewerId, Option<RequestId>, CancellationToken) -> ScreenThe Human review list, or one request when given.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Screens
impl RefUnwindSafe for Screens
impl Send for Screens
impl Sync for Screens
impl Unpin for Screens
impl UnsafeUnpin for Screens
impl UnwindSafe for Screens
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