Function toConst [src]
Prototype
pub fn toConst(self: Index) Constant
Parameters
self: Index
Source
pub fn toConst(self: Index) Constant {
return @enumFromInt(@intFromEnum(Constant.first_global) + @intFromEnum(self));
}
pub fn toConst(self: Index) Constant
self: Index
pub fn toConst(self: Index) Constant {
return @enumFromInt(@intFromEnum(Constant.first_global) + @intFromEnum(self));
}