pub struct TailwindPadding { /* private fields */ }Expand description
Implementations§
Source§impl TailwindPadding
 
impl TailwindPadding
Sourcepub fn parse(
    pattern: &[&str],
    arbitrary: &TailwindArbitrary,
    negative: Negative,
) -> Result<Self>
 
pub fn parse( pattern: &[&str], arbitrary: &TailwindArbitrary, negative: Negative, ) -> Result<Self>
https://tailwindcss.com/docs/padding
Sourcepub fn parse_arbitrary(
    arbitrary: &TailwindArbitrary,
    axis: SpacingAxis,
    negative: Negative,
) -> Result<Self>
 
pub fn parse_arbitrary( arbitrary: &TailwindArbitrary, axis: SpacingAxis, negative: Negative, ) -> Result<Self>
https://tailwindcss.com/docs/padding#arbitrary-values
Sourcepub fn check_valid(mode: &str) -> bool
 
pub fn check_valid(mode: &str) -> bool
https://developer.mozilla.org/en-US/docs/Web/CSS/padding#syntax
Trait Implementations§
Source§impl Clone for TailwindPadding
 
impl Clone for TailwindPadding
Source§fn clone(&self) -> TailwindPadding
 
fn clone(&self) -> TailwindPadding
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 TailwindPadding
 
impl Debug for TailwindPadding
Source§impl Display for TailwindPadding
 
impl Display for TailwindPadding
Source§impl TailwindInstance for TailwindPadding
 
impl TailwindInstance for TailwindPadding
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 TailwindPadding
impl RefUnwindSafe for TailwindPadding
impl Send for TailwindPadding
impl Sync for TailwindPadding
impl Unpin for TailwindPadding
impl UnwindSafe for TailwindPadding
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