pub trait SetAlpha<C> {
// Required methods
fn set_alpha(&mut self, alpha: f64) -> &Self;
fn set_opacity(&mut self, opacity: f64) -> &Self;
fn set_transparency(&mut self, transparency: f64) -> &Self;
}
Required Methods§
fn set_alpha(&mut self, alpha: f64) -> &Self
fn set_opacity(&mut self, opacity: f64) -> &Self
fn set_transparency(&mut 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.