Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ types & classes
Types & classes
34 in github.com/bitflags/bitflags
⨍
Functions
241
◇
Types & classes
34
↓ 10 callers
Class
Ok
tests/compile-pass/repro_265.rs:7
↓ 6 callers
Class
MyInt
tests/compile-fail/bitflags_custom_bits.rs:27
↓ 5 callers
Class
CustomBits
examples/custom_bits_type.rs:10
↓ 3 callers
Class
ParseError
src/parser.rs:244
↓ 2 callers
Class
CustomFlags
examples/custom_bits_type.rs:69
↓ 1 callers
Class
AsDisplay
src/parser.rs:81
↓ 1 callers
Class
FlagsVisitor
Deserialize human-readable flags by parsing them from strings like `"A | B"`
src/external/serde.rs:43
↓ 1 callers
Class
ManualFlags
First: Define your flags type. It just needs to be `Sized + 'static`.
examples/macro_free.rs:10
Interface
BitFlags
src/traits.rs:462
Interface
BitFlagsExt
tests/compile-pass/bitflags_trait_supertrait.rs:14
Interface
Bits
A bits type that can be used as storage for a flags type. */
src/traits.rs:376
Class
BootlegFlags
tests/compile-fail/bitflags_trait_custom.rs:3
Class
Example
tests/compile-pass/impl_attrs.rs:3
Class
Example
tests/compile-pass/impl_repr_packed.rs:4
Class
Flag
src/traits.rs:15
Interface
Flags
A set of defined flags using a bits type as storage. ## Implementing `Flags` This trait is implemented by the [`bitflags`](macro.bitflags.html) macr
src/traits.rs:132
Interface
FlagsExt
tests/compile-pass/flags_trait_supertrait.rs:14
Interface
ImplementedByBitFlagsMacro
src/traits.rs:483
Class
Iter
An iterator over flags values. This iterator will yield flags values for contained, defined flags first, with any remaining bits yielded as a final f
src/iter.rs:13
Class
IterDefinedNames
An iterator over all defined named flags. This iterator will yield flags values for all defined named flags, regardless of whether they are contained
src/iter.rs:153
Class
IterEqualNames
An iterator over all defined names for a specific flags value. */
src/iter.rs:187
Class
IterNames
An iterator over flags values. This iterator only yields flags values for contained, defined, named flags. Any remaining bits won't be yielded, but c
src/iter.rs:67
Class
ManualFlags
examples/custom_derive.rs:11
Class
MyCustomFlags
tests/compile-pass/flags_trait_bound_bitflags.rs:9
Class
MyCustomFlags
tests/compile-pass/bitflags_trait_bound_flags.rs:9
Interface
MyCustomFlagsTrait
tests/compile-pass/flags_trait_bound_bitflags.rs:5
Interface
MyCustomFlagsTrait
tests/compile-pass/bitflags_trait_bound_flags.rs:5
Enum
ParseErrorKind
src/parser.rs:248
Interface
ParseHex
Parse a value from a hex string. */
src/parser.rs:235
Interface
Primitive
Not re-exported: prevent custom `Bits` impls being used in the `bitflags!` macro, or they may fail to compile based on crate features
src/traits.rs:396
Interface
PublicFlags
A trait for referencing the `bitflags`-owned internal type without exposing it publicly.
src/traits.rs:452
Class
WrappedIter
tests/compile-pass/into_iter_trait_wrapped.rs:10
Interface
WriteHex
Encode a value as a hex string. Implementors of this trait should not write the `0x` prefix. */
src/parser.rs:227
Class
dispatch_block_flags_t
tests/compile-pass/repro_486.rs:42