Function style::attr::parse_integer
source ยท pub fn parse_integer<T: Iterator<Item = char>>(input: T) -> Result<i32, ()>
Expand description
Parse an integer according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-integers.