Skip to main content

StyledElementProps

Trait StyledElementProps 

Source
pub trait StyledElementProps: ElementBuilder {
    // Provided methods
    fn data_context<M>(
        self,
        value: impl IntoProp<Option<BoxedValue>, M>,
    ) -> Self { ... }
    fn theme<M>(
        self,
        value: impl IntoProp<Option<Ref<ControlTheme>>, M>,
    ) -> Self { ... }
    fn actual_theme_variant<M>(
        self,
        value: impl IntoProp<Option<ThemeVariant>, M>,
    ) -> Self { ... }
    fn requested_theme_variant<M>(
        self,
        value: impl IntoProp<Option<ThemeVariant>, M>,
    ) -> Self { ... }
}
Expand description

The properties and routed events of StyledElement.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§