pub trait FlagSet { type Flag: Flag; // Required methods fn is_set(&self, flag: Self::Flag) -> bool; fn as_names(&self) -> Vec<&'static str>; }
Checks if a given flag is enabled.
Returns the names of all enabled flags.