pub trait ClassAttribute<C>where
C: IntoClass,{
type Output;
// Required method
fn class(self, value: C) -> Self::Output;
}Expand description
Adds an attribute that modifies the class.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".