Function ptr [src]
Prototype
pub fn ptr(self: Index, wip: *WipFunction) *Block
Parameters
self: Index
wip: *WipFunction
Source
pub fn ptr(self: Index, wip: *WipFunction) *Block {
return &wip.blocks.items[@intFromEnum(self)];
}
pub fn ptr(self: Index, wip: *WipFunction) *Block
self: Index
wip: *WipFunction
pub fn ptr(self: Index, wip: *WipFunction) *Block {
return &wip.blocks.items[@intFromEnum(self)];
}