| 460 | #[doc(hidden)] |
| 461 | #[deprecated(note = "use the `Flags` trait instead")] |
| 462 | pub trait BitFlags: ImplementedByBitFlagsMacro + Flags { |
| 463 | /// An iterator over enabled flags in an instance of the type. |
| 464 | type Iter: Iterator<Item = Self>; |
| 465 | |
| 466 | /// An iterator over the raw names and bits for enabled flags in an instance of the type. |
| 467 | type IterNames: Iterator<Item = (&'static str, Self)>; |
| 468 | } |
| 469 | |
| 470 | #[allow(deprecated)] |
| 471 | impl<B: Flags> BitFlags for B { |
nothing calls this directly
no outgoing calls
no test coverage detected