Skip to content
/ bitmask Public

A bitmask generator for enum scoped bit flags.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

d3lio/bitmask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitmask

A bitmask generator for enum scoped bit flags

Documentation

Usage

Add bitmask as a dependency in your Cargo.toml:

[dependency]
bitmask = "^0.5.0"

Then add this snippet to your crate's root:

#[macro_use]
extern crate bitmask;

Features

Bitmask supports one feature: std. This is enabled by default, and will draw in the standard library and also automatically derive of Hash and Debug for generated types. If you prefer not to derive these features, then ensure you do not enable the default features.

Examples

Run a specific example with cargo run --example <name>.

Similar crates

About

A bitmask generator for enum scoped bit flags.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages