pub fn featureSet(features: []const F) Set
Populates only the feature bits specified.
features: []const F
1327 1328 1329 1330 1331 1332 1333
pub fn featureSet(features: []const F) Set { var x = Set.empty; for (features) |feature| { x.addFeature(@backingInt(feature)); } return x; }
Populates only the feature bits specified.