pub struct AnimationParser;Expand description
Re-export core tailwind-rs functionality
Implementations§
Source§impl AnimationParser
impl AnimationParser
pub fn new() -> AnimationParser
Sourcepub fn parse_animation_class(&self, class: &str) -> Option<Vec<CssProperty>>
pub fn parse_animation_class(&self, class: &str) -> Option<Vec<CssProperty>>
Parse animation classes
Trait Implementations§
Source§impl Clone for AnimationParser
impl Clone for AnimationParser
Source§fn clone(&self) -> AnimationParser
fn clone(&self) -> AnimationParser
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 AnimationParser
impl Debug for AnimationParser
Source§impl Default for AnimationParser
impl Default for AnimationParser
Source§fn default() -> AnimationParser
fn default() -> AnimationParser
Returns the “default value” for a type. Read more
Source§impl UtilityParser for AnimationParser
impl UtilityParser for AnimationParser
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 AnimationParser
impl RefUnwindSafe for AnimationParser
impl Send for AnimationParser
impl Sync for AnimationParser
impl Unpin for AnimationParser
impl UnwindSafe for AnimationParser
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