Add doc comments
5 files changed
+49
-7
cf32da9a
→
73f29c94
modified src/store.rs
@@ -11,15 +11,22 @@ use super::task::{Interrupted, Terminator};
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -52,6 +59,10 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -59,14 +70,14 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/task.rs
@@ -4,6 +4,8 @@ use std::fmt::Debug;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -13,6 +15,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -25,10 +28,12 @@ impl<P> Terminator<P>
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -36,6 +41,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -51,7 +57,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/terminal.rs
@@ -91,6 +91,7 @@ impl<W: Write> ratatui::backend::Backend for TermionBackendExt<W> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -103,11 +104,15 @@ pub fn setup(height: usize) -> anyhow::Result<Terminal<Backend>> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui.rs
@@ -27,11 +27,17 @@ type Backend = TermionBackendExt<RawTerminal<io::Stdout>>;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -44,6 +50,20 @@ impl<A> Frontend<A> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget.rs
@@ -63,9 +63,9 @@ pub trait View<S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|