pub trait StyleStringExt {
// Required method
fn append_semantic<S: Hash + Eq>(
&mut self,
styles: &Option<SemanticStyles<S>>,
slot: S,
);
}Expand description
Extension trait for building style strings with semantic styles.
Required Methods§
Sourcefn append_semantic<S: Hash + Eq>(
&mut self,
styles: &Option<SemanticStyles<S>>,
slot: S,
)
fn append_semantic<S: Hash + Eq>( &mut self, styles: &Option<SemanticStyles<S>>, slot: S, )
Append a semantic style 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.