pub trait GradientStopUtilities {
// Required methods
fn gradient_from(self, color: Color) -> Self;
fn gradient_via(self, color: Color) -> Self;
fn gradient_to(self, color: Color) -> Self;
}Expand description
Trait for adding gradient stop utilities to a class builder
Required Methods§
fn gradient_from(self, color: Color) -> Self
fn gradient_via(self, color: Color) -> Self
fn gradient_to(self, color: Color) -> Self
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.