auto_sized_signed!() { /* proc-macro */ }Expand description
Returns the smallest signed integer type (i8, i16, i32, i64, or i128)
that can represent the given literal.
ยงExamples
use autosized_num::auto_sized_signed;
type T = auto_sized_signed!(-200);
// expands to: type T = i16;