Crate option_set [] [src]

A macro and a trait for implementing a bitset/flag type that serializes to and deserializes from a sequence of strings.

Macros

option_set

Defines an option set type.

Enums

CaseTransform

A Type that knows how to transform the case of individual option flag names.

Traits

OptionSet

Trait for bit flags that forwards to std traits for useful bit operators.

Functions

deserialize

Deserialize set bits from a sequence of name strings.

serialize

Serialize an OptionSet's set bits as a sequence of strings.