174522d2cSopenharmony_ci//! This module shows an example of code generated by the macro. **IT MUST NOT BE USED OUTSIDE THIS 274522d2cSopenharmony_ci//! CRATE**. 374522d2cSopenharmony_ci 474522d2cSopenharmony_cibitflags! { 574522d2cSopenharmony_ci /// This is the same `Flags` struct defined in the [crate level example](../index.html#example). 674522d2cSopenharmony_ci /// Note that this struct is just for documentation purposes only, it must not be used outside 774522d2cSopenharmony_ci /// this crate. 874522d2cSopenharmony_ci pub struct Flags: u32 { 974522d2cSopenharmony_ci const A = 0b00000001; 1074522d2cSopenharmony_ci const B = 0b00000010; 1174522d2cSopenharmony_ci const C = 0b00000100; 1274522d2cSopenharmony_ci const ABC = Self::A.bits | Self::B.bits | Self::C.bits; 1374522d2cSopenharmony_ci } 1474522d2cSopenharmony_ci} 15