aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset/help.rs
blob: ff2b3d42de30314d86b296f0a7132a58aefaf2dd (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, r: &mut RenderResult);
}