Trait ansi_colours::AsRGB [−][src]
A trait for types which (can) represent an sRGB colour. Used to provide
overloaded versions of ansi256_from_rgb
function.
Required Methods
Implementations on Foreign Types
impl AsRGB for u32
[src]
impl AsRGB for u32
Representation of an RGB colour as 24-bit 0xRRGGBB
integer.
impl AsRGB for (u8, u8, u8)
[src]
impl AsRGB for (u8, u8, u8)
impl AsRGB for [u8; 3]
[src]
impl AsRGB for [u8; 3]
impl<'a, T: AsRGB + ?Sized> AsRGB for &'a T
[src]
impl<'a, T: AsRGB + ?Sized> AsRGB for &'a T