bitflags 1.3.2

A macro to generate structures which behave like bitflags.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bitflags::bitflags;

// Checks for possible errors caused by overriding names used by `bitflags!` internally.

mod core {}
mod _core {}

bitflags! {
    struct Test: u8 {
        const A = 1;
    }
}

fn main() {}