DoxigAlpha

isSuperSetOf

Function parameters

Parameters

#

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#
requiresLibC
Does this target require linking libc? This may be the case if the target has an unstable
cCharSignedness
Default signedness of `char` for the native C compiler for this target

Source

Implementation

#
pub fn isSuperSetOf(set: Set, other_set: Set) bool {
    const V = @Vector(usize_count, usize);
    const set_v: V = set.ints;
    const other_v: V = other_set.ints;
    return @reduce(.And, (set_v & other_v) == other_v);
}