pub trait BitFlags: ImplementedByBitFlagsMacro + Flags {
type Iter: Iterator<Item = Self>;
type IterNames: Iterator<Item = (&'static str, Self)>;
}
👎Deprecated: use the
Flags
trait insteadpub trait BitFlags: ImplementedByBitFlagsMacro + Flags {
type Iter: Iterator<Item = Self>;
type IterNames: Iterator<Item = (&'static str, Self)>;
}
Flags
trait instead