Function toValue [src]
Prototype
pub fn toValue(self: Constant) Value
Parameters
self: Constant
Source
pub fn toValue(self: Constant) Value {
return @enumFromInt(Value.first_constant + @intFromEnum(self));
}
pub fn toValue(self: Constant) Value
self: Constant
pub fn toValue(self: Constant) Value {
return @enumFromInt(Value.first_constant + @intFromEnum(self));
}