MCPcopy Create free account

hub / github.com/bitflags/bitflags / functions

Functions241 in github.com/bitflags/bitflags

Functionmain
()
examples/custom_derive.rs:23
Functionmain
()
examples/custom_bits_type.rs:95
Methodnew
Define a flag. If `name` is non-empty then the flag is named, otherwise it's unnamed. */
src/traits.rs:26
Methodnew
(flags: &B)
src/iter.rs:19
Methodnew
()
tests/compile-pass/impl_new.rs:10
Methodnext
(&mut self)
src/iter.rs:41
Methodnext
(&mut self)
tests/compile-pass/into_iter_trait_wrapped.rs:15
Methodnot
(self)
tests/compile-fail/bitflags_custom_bits.rs:79
Methodnot
(self)
examples/custom_bits_type.rs:63
Functionparse
(input: &str)
tests/compile-pass/parser_strict_non_hex_bits.rs:7
Functionparse_flags_10_10
(b: &mut test::Bencher)
benches/parse.rs:83
Functionparse_flags_1_10
(b: &mut test::Bencher)
benches/parse.rs:67
Functionparse_flags_1_10_hex
(b: &mut test::Bencher)
benches/parse.rs:91
Functionparse_flags_5_10
(b: &mut test::Bencher)
benches/parse.rs:75
Methodparse_hex
(input: &str)
tests/compile-fail/bitflags_custom_bits.rs:121
Functionpass
()
tests/compile.rs:15
Functionroundtrip
Very slow in miri
src/tests/parser.rs:7
Functionroundtrip
Very slow in miri
src/tests/iter.rs:7
Functionroundtrip_strict
Very slow in miri
src/tests/parser.rs:44
Functionroundtrip_truncate
Very slow in miri
src/tests/parser.rs:24
Functionserialize
Serialize a set of flags as a human-readable string or their underlying bits. Any unknown bits will be retained. */
src/external/serde.rs:18
Methodset
Call [`Flags::insert`] when `value` is `true` or [`Flags::remove`] when `value` is `false`.
src/traits.rs:320
Functiontest_and_operations
()
src/tests/bitflags_match.rs:50
Functiontest_arbitrary
()
src/external/arbitrary.rs:29
Functiontest_bytemuck
()
src/external/bytemuck.rs:16
Functiontest_complex_operations
()
src/tests/bitflags_match.rs:77
Functiontest_defined_names
()
src/tests/iter.rs:215
Functiontest_empty_and_full_flags
()
src/tests/bitflags_match.rs:90
Functiontest_iter_equal_names
()
src/tests/iter_equal_names.rs:2
Functiontest_or_operations
()
src/tests/bitflags_match.rs:37
Functiontest_serde_bitflags_default
()
src/external/serde.rs:85
Functiontest_single_flags
()
src/tests/bitflags_match.rs:29
Functiontest_xor_operations
()
src/tests/bitflags_match.rs:67
Methodtoggle
The bitwise exclusive-or (`^`) of the bits in `self` and `other`.
src/traits.rs:312
Functionuses_bitflags1
(f: B)
tests/compile-pass/bitflags_trait_to_flags.rs:9
Methoduses_flags
(_: B)
tests/compile-pass/flags_trait_bound_bitflags.rs:12
Methoduses_flags
(_: B)
tests/compile-pass/bitflags_trait_bound_flags.rs:12
Functionuses_flags1
(f: B)
tests/compile-pass/bitflags_trait_to_flags.rs:5
Functionvalid
()
src/tests/parser.rs:71
Methodvisit_str
(self, flags: &str)
src/external/serde.rs:55
Functionwrite
(value: F)
src/tests/parser.rs:151
← previous201–241 of 241, ranked by callers