Trait CustomAttribute
pub trait CustomAttribute<K, V>: Sized + AddAnyAttrwhere
K: CustomAttributeKey,
V: AttributeValue,{
// Provided method
fn attr(self, key: K, value: V) -> Self::Output<CustomAttr<K, V>> { ... }
}
Expand description
Adds a custom attribute to an element.
Provided Methods§
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.