pub trait ClassListExt {
// Required method
fn push_semantic<S: Hash + Eq>(
&mut self,
class_names: &Option<SemanticClassNames<S>>,
slot: S,
);
}Expand description
Extension trait for building class lists with semantic classes.
Required Methods§
Sourcefn push_semantic<S: Hash + Eq>(
&mut self,
class_names: &Option<SemanticClassNames<S>>,
slot: S,
)
fn push_semantic<S: Hash + Eq>( &mut self, class_names: &Option<SemanticClassNames<S>>, slot: S, )
Push a semantic class if it exists.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.