Sha256: 2ce4235802aa4e9c96c4e77d9e31d8401ef58dcda4741325184f0764ab1fe393
Contents?: true
Size: 325 Bytes
Versions: 30
Compression:
Stored size: 325 Bytes
Contents
mod example { use bitflags::bitflags; bitflags! { pub struct Flags1: u32 { const FLAG_A = 0b00000001; } struct Flags2: u32 { const FLAG_B = 0b00000010; } } } fn main() { let flag1 = example::Flags1::FLAG_A; let flag2 = example::Flags2::FLAG_B; }
Version data entries
30 entries across 30 versions & 1 rubygems