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

    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

Implementors