MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / Categories

Enum Categories

18_argparse/rust/argp/src/main.rs:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#[derive(Debug, EnumString, EnumVariantNames)]
6#[strum(serialize_all = "kebab_case")]
7enum Categories {
8 Science = 28,
9 People = 22,
10 Comedy = 23,
11}
12
13#[derive(Debug, StructOpt)]
14#[structopt(name = "argparse example", about = "usage example")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected