Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ uses_flags
Method
uses_flags
tests/compile-pass/bitflags_trait_bound_flags.rs:12–14 ·
view source on GitHub ↗
(_: B)
Source
from the content-addressed store, hash-verified
10
11
impl MyCustomFlagsTrait for MyCustomFlags {
12
fn uses_flags<B: Flags>(_: B) {
13
14
}
15
}
16
17
fn main() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected