Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ functions
Functions
241 in github.com/bitflags/bitflags
⨍
Functions
241
◇
Types & classes
34
Function
main
()
examples/custom_derive.rs:23
Function
main
()
examples/custom_bits_type.rs:95
Method
new
Define a flag. If `name` is non-empty then the flag is named, otherwise it's unnamed. */
src/traits.rs:26
Method
new
(flags: &B)
src/iter.rs:19
Method
new
()
tests/compile-pass/impl_new.rs:10
Method
next
(&mut self)
src/iter.rs:41
Method
next
(&mut self)
tests/compile-pass/into_iter_trait_wrapped.rs:15
Method
not
(self)
tests/compile-fail/bitflags_custom_bits.rs:79
Method
not
(self)
examples/custom_bits_type.rs:63
Function
parse
(input: &str)
tests/compile-pass/parser_strict_non_hex_bits.rs:7
Function
parse_flags_10_10
(b: &mut test::Bencher)
benches/parse.rs:83
Function
parse_flags_1_10
(b: &mut test::Bencher)
benches/parse.rs:67
Function
parse_flags_1_10_hex
(b: &mut test::Bencher)
benches/parse.rs:91
Function
parse_flags_5_10
(b: &mut test::Bencher)
benches/parse.rs:75
Method
parse_hex
(input: &str)
tests/compile-fail/bitflags_custom_bits.rs:121
Function
pass
()
tests/compile.rs:15
Function
roundtrip
Very slow in miri
src/tests/parser.rs:7
Function
roundtrip
Very slow in miri
src/tests/iter.rs:7
Function
roundtrip_strict
Very slow in miri
src/tests/parser.rs:44
Function
roundtrip_truncate
Very slow in miri
src/tests/parser.rs:24
Function
serialize
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
Method
set
Call [`Flags::insert`] when `value` is `true` or [`Flags::remove`] when `value` is `false`.
src/traits.rs:320
Function
test_and_operations
()
src/tests/bitflags_match.rs:50
Function
test_arbitrary
()
src/external/arbitrary.rs:29
Function
test_bytemuck
()
src/external/bytemuck.rs:16
Function
test_complex_operations
()
src/tests/bitflags_match.rs:77
Function
test_defined_names
()
src/tests/iter.rs:215
Function
test_empty_and_full_flags
()
src/tests/bitflags_match.rs:90
Function
test_iter_equal_names
()
src/tests/iter_equal_names.rs:2
Function
test_or_operations
()
src/tests/bitflags_match.rs:37
Function
test_serde_bitflags_default
()
src/external/serde.rs:85
Function
test_single_flags
()
src/tests/bitflags_match.rs:29
Function
test_xor_operations
()
src/tests/bitflags_match.rs:67
Method
toggle
The bitwise exclusive-or (`^`) of the bits in `self` and `other`.
src/traits.rs:312
Function
uses_bitflags1
(f: B)
tests/compile-pass/bitflags_trait_to_flags.rs:9
Method
uses_flags
(_: B)
tests/compile-pass/flags_trait_bound_bitflags.rs:12
Method
uses_flags
(_: B)
tests/compile-pass/bitflags_trait_bound_flags.rs:12
Function
uses_flags1
(f: B)
tests/compile-pass/bitflags_trait_to_flags.rs:5
Function
valid
()
src/tests/parser.rs:71
Method
visit_str
(self, flags: &str)
src/external/serde.rs:55
Function
write
(value: F)
src/tests/parser.rs:151
← previous
201–241 of 241, ranked by callers