Function removeFeature [src]
Removes the specified feature but not its dependents.
Prototype
pub fn removeFeature(set: *Set, arch_feature_index: Index) void
Parameters
set: *Set
arch_feature_index: Index
Source
pub fn removeFeature(set: *Set, arch_feature_index: Index) void {
const usize_index = arch_feature_index / @bitSizeOf(usize);
const bit_index: ShiftInt = @intCast(arch_feature_index % @bitSizeOf(usize));
set.ints[usize_index] &= ~(@as(usize, 1) << bit_index);
}