bors[bot] 93689be008 Merge #173
173: Put the user-provided attributes first r=Dylan-DPC a=nox


`#[derive]` should always come after any proc macro attribute.

Co-authored-by: Anthony Ramine <n.oxyde@gmail.com>
2019-03-14 16:32:34 +00:00
2018-05-31 22:45:21 +05:30
2018-08-21 15:54:08 -04:00
2018-08-21 15:58:48 -04:00
2018-05-31 15:09:56 +05:30
2015-01-15 00:32:45 -08:00
2015-01-15 00:32:45 -08:00
2018-06-30 21:56:53 -07:00

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.0"

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.

S
Description
一个宏,使得在 Rust 中定义和处理位标志更加容易。 | A macro that makes it easy to define and work with bitflags in Rust.
Readme 1.3 MiB
Languages
Rust 100%