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

Method iter

src/traits.rs:231–233  ·  view source on GitHub ↗

Yield a set of contained flags values. Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

(&self)

Source from the content-addressed store, hash-verified

229 /// Each yielded flags value will correspond to a defined named flag. Any unknown bits
230 /// will be yielded together as a final flags value.
231 fn iter(&self) -> iter::Iter<Self> {
232 iter::Iter::new(self)
233 }
234
235 /// Yield a set of contained named flags values.
236 ///

Callers 15

format_flags_1_presentFunction · 0.80
format_flags_5_presentFunction · 0.80
format_flags_10_presentFunction · 0.80
parse_flags_1_10Function · 0.80
parse_flags_5_10Function · 0.80
parse_flags_10_10Function · 0.80
parse_flags_1_10_hexFunction · 0.80
allMethod · 0.80
all_namedMethod · 0.80
casesFunction · 0.80
casesFunction · 0.80
test_defined_namesFunction · 0.80

Implementers 2

macro_free.rsexamples/macro_free.rs
custom_bits_type.rsexamples/custom_bits_type.rs

Calls

no outgoing calls

Tested by 3

casesFunction · 0.64
casesFunction · 0.64
test_defined_namesFunction · 0.64