pub trait Integer:
FromStr<Err = ParseIntError>
+ TryFrom<i8>
+ Sized { }
Available on crate feature
alloc
only.Expand description
Not strictly necessary but serves as a lint - avoids weird behavior if someone accidentally
passes non-integer to the parse()
function.
Object Safety§
This trait is not object safe.