pub struct TailwindFontStyle { /* private fields */ }Expand description
Utilities for controlling the font smoothing of an element.
§Reference
Implementations§
Source§impl TailwindFontStyle
 
impl TailwindFontStyle
Sourcepub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
 
pub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
Sourcepub fn parse_arbitrary(arbitrary: &TailwindArbitrary) -> Result<Self>
 
pub fn parse_arbitrary(arbitrary: &TailwindArbitrary) -> Result<Self>
dispatch to font-style
Sourcepub fn check_valid(mode: &str) -> bool
 
pub fn check_valid(mode: &str) -> bool
https://developer.mozilla.org/en-US/docs/Web/CSS/font-style#syntax
Trait Implementations§
Source§impl Clone for TailwindFontStyle
 
impl Clone for TailwindFontStyle
Source§fn clone(&self) -> TailwindFontStyle
 
fn clone(&self) -> TailwindFontStyle
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 TailwindFontStyle
 
impl Debug for TailwindFontStyle
Source§impl Display for TailwindFontStyle
 
impl Display for TailwindFontStyle
Source§impl<T> From<T> for TailwindFontStyle
 
impl<T> From<T> for TailwindFontStyle
Source§impl TailwindInstance for TailwindFontStyle
 
impl TailwindInstance for TailwindFontStyle
Source§fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
 
fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
Attributes in css, representing contained CSS property-value(s)
Source§fn inlineable(&self) -> bool
 
fn inlineable(&self) -> bool
Is this instance inlineable within html style=“” attribute? Read more
Source§fn selectors(&self, ctx: &TailwindBuilder) -> String
 
fn selectors(&self, ctx: &TailwindBuilder) -> String
Custom selector name
Source§fn additional(&self, ctx: &TailwindBuilder) -> String
 
fn additional(&self, ctx: &TailwindBuilder) -> String
Additional css in bundle
Auto Trait Implementations§
impl Freeze for TailwindFontStyle
impl RefUnwindSafe for TailwindFontStyle
impl Send for TailwindFontStyle
impl Sync for TailwindFontStyle
impl Unpin for TailwindFontStyle
impl UnwindSafe for TailwindFontStyle
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more