irox_egui_extras

Trait WithAlpha

Source
pub trait WithAlpha {
    // Required method
    fn with_alpha(self, alpha: u8) -> Self;
}

Required Methods§

Source

fn with_alpha(self, alpha: u8) -> 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.

Implementations on Foreign Types§

Source§

impl WithAlpha for Color32

Source§

fn with_alpha(self, alpha: u8) -> Self

Implementors§