MCPcopy Create free account
hub / github.com/bitflags/bitflags / IterNames

Class IterNames

src/iter.rs:67–72  ·  view source on GitHub ↗

An iterator over flags values. This iterator only yields flags values for contained, defined, named flags. Any remaining bits won't be yielded, but can be found with the [`IterNames::remaining`] method. */

Source from the content-addressed store, hash-verified

65won't be yielded, but can be found with the [`IterNames::remaining`] method.
66*/
67pub struct IterNames<B: 'static> {
68 flags: &'static [Flag<B>],
69 idx: usize,
70 source: B,
71 remaining: B,
72}
73
74impl<B: Flags> IterNames<B> {
75 pub(crate) fn new(flags: &B) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected