Trait tailwind_fuse::IntoTailwindClass
source · pub trait IntoTailwindClass {
// Required methods
fn to_class(&self) -> String;
fn with_class(&self, class: impl AsRef<str>) -> String;
}Expand description
Required Methods§
sourcefn with_class(&self, class: impl AsRef<str>) -> String
fn with_class(&self, class: impl AsRef<str>) -> String
Append to the class (with override precedence) and return the new class.
Object Safety§
This trait is not object safe.