Trait glium::texture::PixelValue
[−]
[src]
pub unsafe trait PixelValue: Copy + Clone + Send + 'static { fn get_format() -> ClientFormat; }
A trait that must be implemented for any type that can represent the value of a pixel.
Required Methods
fn get_format() -> ClientFormat
Returns corresponding client format.
Implementors
impl PixelValue for i8
impl PixelValue for (i8, i8)
impl PixelValue for (i8, i8, i8)
impl PixelValue for (i8, i8, i8, i8)
impl PixelValue for u8
impl PixelValue for (u8, u8)
impl PixelValue for (u8, u8, u8)
impl PixelValue for (u8, u8, u8, u8)
impl PixelValue for i16
impl PixelValue for (i16, i16)
impl PixelValue for (i16, i16, i16)
impl PixelValue for (i16, i16, i16, i16)
impl PixelValue for u16
impl PixelValue for (u16, u16)
impl PixelValue for (u16, u16, u16)
impl PixelValue for (u16, u16, u16, u16)
impl PixelValue for i32
impl PixelValue for (i32, i32)
impl PixelValue for (i32, i32, i32)
impl PixelValue for (i32, i32, i32, i32)
impl PixelValue for u32
impl PixelValue for (u32, u32)
impl PixelValue for (u32, u32, u32)
impl PixelValue for (u32, u32, u32, u32)
impl PixelValue for f32
impl PixelValue for (f32, f32)
impl PixelValue for (f32, f32, f32)
impl PixelValue for (f32, f32, f32, f32)