Trait atoi::MaxNumDigits
source · pub trait MaxNumDigits {
fn max_num_digits(radix: Self) -> usize;
}
Expand description
A bounded integer, whose representation can overflow and therfore can only store a maximum number of digits
Required Methods§
sourcefn max_num_digits(radix: Self) -> usize
fn max_num_digits(radix: Self) -> usize
Given a representation with a radix charactar I, what is the maximum number of digits we can parse without the integer overflowing for sure?