Function limited64 [src]

Any value grater than std.math.maxInt(usize) is interpreted to mean .unlimited.

Prototype

pub fn limited64(n: u64) Limit

Parameters

n: u64

Source

pub fn limited64(n: u64) Limit { return @enumFromInt(@min(n, std.math.maxInt(usize))); }