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