DVUI

has

Parameters

#
self:Mod
Mod
other:Mod
Mod

Source

Implementation

#
pub fn has(self: Mod, other: Mod) bool {
        const s: u16 = @intFromEnum(self);
        const t: u16 = @intFromEnum(other);
        return (s & t) != 0;
    }