Bug: 146584155

Clone this repo:
  1. 8343632 Make bitflags available to product and vendor am: 19a0ccbdab by Matthew Maurer · 3 weeks ago master
  2. 19a0ccb Make bitflags available to product and vendor by Matthew Maurer · 3 weeks ago
  3. 878699e Update TEST_MAPPING am: 2ce77041a3 by Jeff Vander Stoep · 8 weeks ago
  4. 2ce7704 Update TEST_MAPPING by Jeff Vander Stoep · 8 weeks ago
  5. de123e6 Update TEST_MAPPING am: 7273ed1371 by David Brazdil · 9 weeks ago

bitflags

Rust Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation License

A Rust macro to generate structures which behave like a set of bitflags

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "1.3"

and this to your source code:

use bitflags::bitflags;

Rust Version Support

The minimum supported Rust version is 1.46 due to use of associated constants and const functions.