pub trait UtilityParser {
// Required methods
fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>;
fn get_supported_patterns(&self) -> Vec<&'static str>;
fn get_priority(&self) -> u32;
fn get_category(&self) -> ParserCategory;
}Expand description
Re-export core tailwind-rs functionality Common parser interface for all utility parsers
Required Methods§
Sourcefn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
Parse a class and return CSS properties
Sourcefn get_supported_patterns(&self) -> Vec<&'static str>
fn get_supported_patterns(&self) -> Vec<&'static str>
Get supported patterns for this parser
Sourcefn get_priority(&self) -> u32
fn get_priority(&self) -> u32
Get parser priority (higher = more specific)
Sourcefn get_category(&self) -> ParserCategory
fn get_category(&self) -> ParserCategory
Get parser category