pub struct FlexParser { /* private fields */ }Expand description
Re-export core tailwind-rs functionality
Implementations§
Source§impl FlexParser
impl FlexParser
pub fn new() -> FlexParser
Trait Implementations§
Source§impl Clone for FlexParser
impl Clone for FlexParser
Source§fn clone(&self) -> FlexParser
fn clone(&self) -> FlexParser
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlexParser
impl Debug for FlexParser
Source§impl Default for FlexParser
impl Default for FlexParser
Source§fn default() -> FlexParser
fn default() -> FlexParser
Returns the “default value” for a type. Read more
Source§impl UtilityParser for FlexParser
impl UtilityParser for FlexParser
Source§fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
fn parse_class(&self, class: &str) -> Option<Vec<CssProperty>>
Parse a class and return CSS properties
Source§fn get_supported_patterns(&self) -> Vec<&'static str>
fn get_supported_patterns(&self) -> Vec<&'static str>
Get supported patterns for this parser
Source§fn get_priority(&self) -> u32
fn get_priority(&self) -> u32
Get parser priority (higher = more specific)
Source§fn get_category(&self) -> ParserCategory
fn get_category(&self) -> ParserCategory
Get parser category
Auto Trait Implementations§
impl Freeze for FlexParser
impl RefUnwindSafe for FlexParser
impl Send for FlexParser
impl Sync for FlexParser
impl Unpin for FlexParser
impl UnwindSafe for FlexParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more