pub struct TailwindDecorationStyle { /* private fields */ }
Expand description
Utilities for controlling the style of text decorations.
decoration-solid
The quick brown fox jumps over the lazy dog.
decoration-double
The quick brown fox jumps over the lazy dog.
decoration-dotted
The quick brown fox jumps over the lazy dog.
decoration-dashed
The quick brown fox jumps over the lazy dog.
decoration-wavy
The quick brown fox jumps over the lazy dog.
§Reference
Implementations§
Source§impl TailwindDecorationStyle
impl TailwindDecorationStyle
Sourcepub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
pub fn parse(pattern: &[&str], arbitrary: &TailwindArbitrary) -> Result<Self>
Trait Implementations§
Source§impl Clone for TailwindDecorationStyle
impl Clone for TailwindDecorationStyle
Source§fn clone(&self) -> TailwindDecorationStyle
fn clone(&self) -> TailwindDecorationStyle
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 TailwindDecorationStyle
impl Debug for TailwindDecorationStyle
Source§impl Display for TailwindDecorationStyle
impl Display for TailwindDecorationStyle
Source§impl<T> From<T> for TailwindDecorationStyle
impl<T> From<T> for TailwindDecorationStyle
Source§impl TailwindInstance for TailwindDecorationStyle
impl TailwindInstance for TailwindDecorationStyle
Source§fn attributes(&self, _: &TailwindBuilder) -> CssAttributes
fn attributes(&self, _: &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 TailwindDecorationStyle
impl RefUnwindSafe for TailwindDecorationStyle
impl Send for TailwindDecorationStyle
impl Sync for TailwindDecorationStyle
impl Unpin for TailwindDecorationStyle
impl UnwindSafe for TailwindDecorationStyle
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