Function style::attr::parse_legacy_color
source ยท pub fn parse_legacy_color(input: &str) -> Result<AbsoluteColor, ()>
Expand description
Parses a legacy color. If unparseable, Err
is returned.
pub fn parse_legacy_color(input: &str) -> Result<AbsoluteColor, ()>
Parses a legacy color. If unparseable, Err
is returned.