Struct tailwind_css::TailwindLeading
source · [−]pub struct TailwindLeading { /* private fields */ }
Expand description
Utilities for controlling the font smoothing of an element.
Reference
Implementations
sourceimpl TailwindLeading
impl TailwindLeading
sourcepub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
https://tailwindcss.com/docs/line-height
pub fn parse_arbitrary(arbitrary: &TailwindArbitrary) -> Result<Self>
Trait Implementations
sourceimpl Clone for TailwindLeading
impl Clone for TailwindLeading
sourcefn clone(&self) -> TailwindLeading
fn clone(&self) -> TailwindLeading
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TailwindLeading
impl Debug for TailwindLeading
sourceimpl Display for TailwindLeading
impl Display for TailwindLeading
sourceimpl TailwindInstance for TailwindLeading
impl TailwindInstance for TailwindLeading
sourcefn attributes(&self, _: &TailwindBuilder) -> CssAttributes
fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
Attributes in css
sourcefn inlineable(&self) -> bool
fn inlineable(&self) -> bool
used to deduplication and marking
sourcefn boxed(self) -> Box<dyn TailwindInstance>where
Self: Sized,
Self: 'static,
fn boxed(self) -> Box<dyn TailwindInstance>where
Self: Sized,
Self: 'static,
New tailwind instance
sourcefn selectors(&self, ctx: &TailwindBuilder) -> String
fn selectors(&self, ctx: &TailwindBuilder) -> String
Custom selector name
sourcefn additional(&self, ctx: &TailwindBuilder) -> String
fn additional(&self, ctx: &TailwindBuilder) -> String
Additional css in bundle
Auto Trait Implementations
impl RefUnwindSafe for TailwindLeading
impl Send for TailwindLeading
impl Sync for TailwindLeading
impl Unpin for TailwindLeading
impl UnwindSafe for TailwindLeading
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more