pub trait HasntAlpha: IsColor {
type Alphaful: HasAlpha;
// Required method
fn with_alpha(self, alpha: Self::Channel) -> Self::Alphaful;
}Expand description
The color which has not alpha component
Required Associated Types§
Required Methods§
Sourcefn with_alpha(self, alpha: Self::Channel) -> Self::Alphaful
fn with_alpha(self, alpha: Self::Channel) -> Self::Alphaful
Append alpha component to the color
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".