Adding bluetooth apex am: 3be99c1ed0 am: 54ad4e8af6 am: 73c6f9b65d am: 90125b4ea7 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/1931399 Change-Id: Idc54666be6135acb147f02abb7c2d34fac1a36b7
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.