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

Interface MyCustomFlagsTrait

tests/compile-pass/flags_trait_bound_bitflags.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: Flags>(flags: B);
7}
8
9pub struct MyCustomFlags;
10

Callers

nothing calls this directly

Implementers 1

flags_trait_bound_bitflags.rstests/compile-pass/flags_trait_bound_b

Calls

no outgoing calls

Tested by

no test coverage detected