Skip to main content

parse_delay

Function parse_delay 

Source
pub fn parse_delay(text: &str) -> Option<u64>
Expand description

Parse a CSS2 time (5s, 250ms, 1.5s, or a bare number of milliseconds) into milliseconds, without floating point.