pub struct ColorParser;Expand description
Re-export core tailwind-rs functionality Parser for color utilities
Implementations§
Source§impl ColorParser
impl ColorParser
pub fn new() -> ColorParser
Trait Implementations§
Source§impl Clone for ColorParser
impl Clone for ColorParser
Source§fn clone(&self) -> ColorParser
fn clone(&self) -> ColorParser
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 ColorParser
impl Debug for ColorParser
Source§impl Default for ColorParser
impl Default for ColorParser
Source§fn default() -> ColorParser
fn default() -> ColorParser
Returns the “default value” for a type. Read more
Source§impl UtilityParser for ColorParser
impl UtilityParser for ColorParser
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 ColorParser
impl RefUnwindSafe for ColorParser
impl Send for ColorParser
impl Sync for ColorParser
impl Unpin for ColorParser
impl UnwindSafe for ColorParser
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