pub trait StyleProp:
Default
+ Copy
+ 'static {
type Type: StylePropValue;
// Required methods
fn key() -> StyleKey;
fn default_value() -> Self::Type;
// Provided method
fn prop_ref() -> StylePropRef { ... }
}Required Associated Types§
type Type: StylePropValue
Required Methods§
Provided Methods§
fn prop_ref() -> StylePropRef
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.