logo
pub trait TailwindInstance: Display {
    fn attributes(&self, ctx: &TailwindBuilder) -> CssAttributes;

    fn id(&self) -> String { ... }
    fn inlineable(&self) -> bool { ... }
    fn boxed(self) -> Box<dyn TailwindInstance>
    where
        Self: Sized,
        Self: 'static
, { ... } fn selectors(&self, ctx: &TailwindBuilder) -> String { ... } fn additional(&self, ctx: &TailwindBuilder) -> String { ... } }

Required Methods

Attributes in css

Provided Methods

used to deduplication and marking

used to deduplication and marking

New tailwind instance

Custom selector name

Additional css in bundle

Trait Implementations

Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Implementors

.container {