[−][src]Trait colours::HasAlpha
The color which has an alpha component
Associated Types
type Alphaless: HasntAlpha + Sized
The color of same kind but without alpha component
Required methods
fn split_alpha(self) -> (Self::Alphaless, Self::Channel)
Split alpha component from color
Provided methods
fn without_alpha(self) -> Self::Alphaless
Remove alpha component of color
fn only_alpha(self) -> Self::Channel
Extract alpha component from color