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

Class ManualFlags

examples/macro_free.rs:10–10  ·  view source on GitHub ↗

First: Define your flags type. It just needs to be `Sized + 'static`.

Source from the content-addressed store, hash-verified

8
9// First: Define your flags type. It just needs to be `Sized + 'static`.
10pub struct ManualFlags(u32);
11
12// Not required: Define some constants for valid flags
13impl ManualFlags {

Callers 1

macro_free.rsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected