ClassListExt

Trait ClassListExt 

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl ClassListExt for Vec<String>

Source§

fn push_semantic<S: Hash + Eq>( &mut self, class_names: &Option<SemanticClassNames<S>>, slot: S, )

Implementors§