Module amplify::flags

source ·
Expand description

Types for building flag-based APIs and functionality

Structs

Iterator over all set feature flags
Iterator over a filtered set feature flags
Keeps a reference to a specific feature flag within FlagVec vector
Bit flag vector. Can hold up to 2^16-1 flags and guaranteed to have length up to 255 bytes.
Error parsing feature vector string representation: only 1, 0, +, -, *, !, #, _ and whitespace characters are allowed

Type Definitions

A single feature flag, represented by it’s number inside feature vector