Trait components::foundation::colorspace::prelude::HasAlpha
[−]pub trait HasAlpha<C>: GetAlpha<C> + SetAlpha<C> {
fn get_color(&self) -> C;
fn set_color(&mut self, color: C) -> &Self;
fn split(&self) -> (C, f32) { ... }
}
Expand description
Defines alpha functionality
Required Methods
fn get_color(&self) -> C
fn get_color(&self) -> C
Retrieve the color component