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

Interface MyCustomFlagsTrait

tests/compile-pass/bitflags_trait_bound_flags.rs:5–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3use bitflags::{BitFlags, Flags};
4
5pub trait MyCustomFlagsTrait {
6 fn uses_flags<B: BitFlags>(flags: B);
7}
8
9pub struct MyCustomFlags;
10

Callers

nothing calls this directly

Implementers 1

bitflags_trait_bound_flags.rstests/compile-pass/bitflags_trait_boun

Calls

no outgoing calls

Tested by

no test coverage detected