pub trait AdjustAlpha<C>: Clone + SetAlpha<C> {
// Provided methods
fn alpha(&self, alpha: f64) -> Self { ... }
fn opacity(&self, opacity: f64) -> Self { ... }
fn transparency(&self, transparency: f64) -> Self { ... }
}
Provided Methods§
fn alpha(&self, alpha: f64) -> Self
fn opacity(&self, opacity: f64) -> Self
fn transparency(&self, transparency: f64) -> 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.