Skip to main content

GradientStopProps

Trait GradientStopProps 

Source
pub trait GradientStopProps: ElementBuilder {
    // Provided methods
    fn offset<M>(self, value: impl IntoProp<f64, M>) -> Self { ... }
    fn color<M>(self, value: impl IntoProp<Color, M>) -> Self { ... }
}
Expand description

The properties and routed events of GradientStop.

Provided Methods§

Source

fn offset<M>(self, value: impl IntoProp<f64, M>) -> Self

Source

fn color<M>(self, value: impl IntoProp<Color, M>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§