Function pprof::flamegraph::color::parse_hex_color
source · pub fn parse_hex_color(s: &str) -> Option<RGB<u8>>
Expand description
Parses a string as a hex color, returning None if it is an invalid color
pub fn parse_hex_color(s: &str) -> Option<RGB<u8>>
Parses a string as a hex color, returning None if it is an invalid color