Function toInt [src]

Prototype

pub fn toInt(l: Limit) ?usize

Parameters

l: Limit

Source

pub fn toInt(l: Limit) ?usize { return switch (l) { else => @intFromEnum(l), .unlimited => null, }; }