mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-10-12 00:05:06 +02:00
11 lines
173 B
Rust
11 lines
173 B
Rust
use bitflags::bitflags;
|
|
|
|
bitflags! {
|
|
pub struct Flags1: u32 {
|
|
const FLAG_A = 0b00000001;
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
assert_eq!(0b00000001, Flags1::FLAG_A.bits);
|
|
}
|