aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset/help.rs
blob: b3742f24b177e5776e7dfad41666d4f36ddba5d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
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) -> RenderResult;
}