pub struct TailwindDecorationColor { /* private fields */ }
Expand description
Utilities for controlling the font smoothing of an element.
§Reference
Implementations§
Source§impl TailwindDecorationColor
impl TailwindDecorationColor
Sourcepub fn parse(input: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse(input: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
Sourcepub fn parse_arbitrary(arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse_arbitrary(arbitrary: &TailwindArbitrary) -> Result<Self>
Trait Implementations§
Source§impl Clone for TailwindDecorationColor
impl Clone for TailwindDecorationColor
Source§fn clone(&self) -> TailwindDecorationColor
fn clone(&self) -> TailwindDecorationColor
Returns a copy 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 TailwindDecorationColor
impl Debug for TailwindDecorationColor
Source§impl Display for TailwindDecorationColor
impl Display for TailwindDecorationColor
Source§impl<T> From<T> for TailwindDecorationColorwhere
T: Into<TailwindColor>,
impl<T> From<T> for TailwindDecorationColorwhere
T: Into<TailwindColor>,
Source§impl TailwindInstance for TailwindDecorationColor
impl TailwindInstance for TailwindDecorationColor
Source§fn attributes(&self, ctx: &TailwindBuilder) -> CssAttributes
fn attributes(&self, ctx: &TailwindBuilder) -> CssAttributes
Attributes in css
Source§fn inlineable(&self) -> bool
fn inlineable(&self) -> bool
used to deduplication and marking
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 TailwindDecorationColor
impl RefUnwindSafe for TailwindDecorationColor
impl Send for TailwindDecorationColor
impl Sync for TailwindDecorationColor
impl Unpin for TailwindDecorationColor
impl UnwindSafe for TailwindDecorationColor
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