Function toRef [src]
Prototype
pub fn toRef(i: Index) Inst.Ref
Parameters
i: Index
Source
pub fn toRef(i: Index) Inst.Ref {
return @enumFromInt(@intFromEnum(Index.ref_start_index) + @intFromEnum(i));
}
pub fn toRef(i: Index) Inst.Ref
i: Index
pub fn toRef(i: Index) Inst.Ref {
return @enumFromInt(@intFromEnum(Index.ref_start_index) + @intFromEnum(i));
}