devise_core/
support.rs

1#![allow(non_upper_case_globals)]
2
3bitflags! {
4    #[derive(Copy, Clone, Default)]
5    pub struct Support: u8 {
6        const None            = 0b0000_000;
7        const Type            = 0b0000_001;
8        const Lifetime        = 0b0000_010;
9        const Const           = 0b0000_100;
10        const AllGeneric      = 0b0000_111;
11        const TupleStruct     = 0b0001_000;
12        const NamedStruct     = 0b0010_000;
13        const Struct          = 0b0011_000;
14        const Enum            = 0b0100_000;
15        const Union           = 0b1000_000;
16        const AllData         = 0b1111_000;
17        const All             = 0b1111_111;
18    }
19}