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