pub trait Integer:
Sized
+ FromStr<Err = ParseIntError>
+ TryFrom<i8>
+ Sealed { }Expand description
Not strictly necessary but serves as a lint - avoids weird behavior if someone accidentally
passes non-integer to the parse() function.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".