SetAlpha

Trait SetAlpha 

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

Source

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

Source

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

Source

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.

Implementors§