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