fn feature_set_fns(comptime F: type) type

Parameters

F: type,

Functions

fn featureSet(features: []const F) Set

Populates only the feature bits specified.

fn featureSetHas(set: Set, feature: F) bool

Returns true if the specified feature is enabled.

fn featureSetHasAll(set: Set, features: anytype) bool

Returns true if every specified feature is enabled.

fn featureSetHasAny(set: Set, features: anytype) bool

Returns true if any specified feature is enabled.