Skip to content
A macro to generate structures which behave like bitflags
Rust
Branch: master
Clone or download
KodrAus Merge pull request #199 from eupn/use-trybuild
Use trybuild for compiletest
Latest commit c418ee2 Nov 5, 2019

README.md

bitflags

Build Status Join the chat at https://gitter.im/bitflags/Lobby Latest version Documentation Minimum rustc version License

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

Usage

Add this to your Cargo.toml:

[dependencies]
bitflags = "1.2"

and this to your crate root:

#[macro_use]
extern crate bitflags;

Rust Version Support

The minimum supported Rust version is 1.20 due to use of associated constants.

You can’t perform that action at this time.