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