Trait PropAttribute
pub trait PropAttribute<K, P>where
P: IntoProperty,{
type Output;
// Required method
fn prop(self, key: K, value: P) -> Self::Output;
}Expand description
Adds an attribute that modifies the DOM properties.
Required Associated Types§
type Output
type Output
The type of the element with the new attribute added.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".