argv-lite-proc 0.1.0

Internal procedural macro helpers for argv-lite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub trait Choice: std::str::FromStr + std::fmt::Display {
    fn name(&self) -> &'static str;
    fn alt_name(&self) -> Option<&'static str>;
    fn help(&self) -> &'static str;
    fn usage() -> &'static str;
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn it_works() {
        let result = 4;
        assert_eq!(result, 4);
    }
}