Trait plasma::ToColor8

source ·
pub trait ToColor8 {
    // Required method
    fn to_color_u8clamped(self) -> u8;
}
Expand description

Provides a method of converting color part from a f32 type to a u8.

Required Methods§

Implementations on Foreign Types§

source§

impl ToColor8 for f32

Implementors§