AdjustAlpha

Trait AdjustAlpha 

Source
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§

Source

fn alpha(&self, alpha: f64) -> Self

Source

fn opacity(&self, opacity: f64) -> Self

Source

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.

Implementors§