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)); }