auto_sized_unsigned_val!() { /* proc-macro */ }Expand description
Returns the given literal as a value, cast to the smallest unsigned integer type that can represent it.
ยงExamples
use autosized_num::auto_sized_unsigned_val;
let x = auto_sized_unsigned_val!(300);
// expands to: 300 as u16