bors[bot] c307a2c8fa Merge #175
175: Const fn r=KodrAus a=arturoc

This adds const functions for every non mutable function in the crate.



Co-authored-by: Arturo Castro <arturo@rin.rs>
2019-04-23 23:22:33 +00:00
2018-05-31 22:45:21 +05:30
2019-04-23 11:50:28 +02:00
2019-04-23 11:50:28 +02: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.2 MiB
Languages
Rust 100%