Skip to main content

parse_style

Function parse_style 

Source
pub fn parse_style(s: &str) -> Result<Style, StyleParseError>
Expand description

Parse a style string. Empty / whitespace-only yields the default style. Tokens may appear in any order; duplicate tokens overwrite (last-wins within a single string).