Trait TransformConfig

Source
pub trait TransformConfig {
    // Required method
    fn new_name_for(&self, local: &Atom) -> Atom;
}
Expand description

Various configurations for the css modules.

§Note

This is a trait rather than a struct because api like fn() -> String is too restricted and Box<Fn() -> String is (needlessly) slow.

Required Methods§

Source

fn new_name_for(&self, local: &Atom) -> Atom

Creates a class name for the given local_name.

Implementors§