diff options
Diffstat (limited to 'mingling_core/src/asset/help.rs')
| -rw-r--r-- | mingling_core/src/asset/help.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mingling_core/src/asset/help.rs b/mingling_core/src/asset/help.rs new file mode 100644 index 0000000..ff2b3d4 --- /dev/null +++ b/mingling_core/src/asset/help.rs @@ -0,0 +1,10 @@ +use crate::RenderResult; + +/// Handles help rendering for command-line arguments +pub trait HelpRequest { + /// The entry type + type Entry; + + /// Process the previous value and write the result into the provided [`RenderResult`](./struct.RenderResult.html) + fn render_help(p: Self::Entry, r: &mut RenderResult); +} |
