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

Class IterDefinedNames

src/iter.rs:153–156  ·  view source on GitHub ↗

An iterator over all defined named flags. This iterator will yield flags values for all defined named flags, regardless of whether they are contained in a particular flags value. */

Source from the content-addressed store, hash-verified

151whether they are contained in a particular flags value.
152*/
153pub struct IterDefinedNames<B: 'static> {
154 flags: &'static [Flag<B>],
155 idx: usize,
156}
157
158impl<B: Flags> IterDefinedNames<B> {
159 pub(crate) fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected