#bitflags #structures #generate #macro #bitmask

blastfig

A macro to generate structures which behave like bitflags

1 unstable release

Uses old Rust 2015

0.3.3 Dec 27, 2015

#20 in #bitmask

Download history 11/week @ 2024-07-22 29/week @ 2024-07-29 23/week @ 2024-08-05 15/week @ 2024-08-12 12/week @ 2024-08-19 21/week @ 2024-08-26 18/week @ 2024-09-02 23/week @ 2024-09-09 15/week @ 2024-09-16 34/week @ 2024-09-23 29/week @ 2024-09-30 12/week @ 2024-10-07 27/week @ 2024-10-14 23/week @ 2024-10-21 14/week @ 2024-10-28 28/week @ 2024-11-04

93 downloads per month
Used in 5 crates (via libmultilog)

MIT/Apache

21KB
380 lines

bitflags

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

Build Status

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]

bitflags = "0.3"

and this to your crate root:

#[macro_use]
extern crate bitflags;

lib.rs:

A typesafe bitmask flag generator.

Dependencies