1/// A flag reference inside a parameter type, e.g. `flags.0` in `flags.0?true`.
2#[derive(Clone, Debug, PartialEq, Eq, Hash)]
3pub struct Flag {
4/// The name of the flags field that holds this bit (usually `"flags"`).
5pub name: String,
6/// The bit index (0-based).
7pub index: u32,
8}