[][src]Trait glium::texture::PixelValue

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.

Loading content...

Implementations on Foreign Types

impl PixelValue for i8[src]

impl PixelValue for (i8, i8)[src]

impl PixelValue for (i8, i8, i8)[src]

impl PixelValue for (i8, i8, i8, i8)[src]

impl PixelValue for u8[src]

impl PixelValue for (u8, u8)[src]

impl PixelValue for (u8, u8, u8)[src]

impl PixelValue for (u8, u8, u8, u8)[src]

impl PixelValue for i16[src]

impl PixelValue for (i16, i16)[src]

impl PixelValue for (i16, i16, i16)[src]

impl PixelValue for (i16, i16, i16, i16)[src]

impl PixelValue for u16[src]

impl PixelValue for (u16, u16)[src]

impl PixelValue for (u16, u16, u16)[src]

impl PixelValue for (u16, u16, u16, u16)[src]

impl PixelValue for i32[src]

impl PixelValue for (i32, i32)[src]

impl PixelValue for (i32, i32, i32)[src]

impl PixelValue for (i32, i32, i32, i32)[src]

impl PixelValue for u32[src]

impl PixelValue for (u32, u32)[src]

impl PixelValue for (u32, u32, u32)[src]

impl PixelValue for (u32, u32, u32, u32)[src]

impl PixelValue for f32[src]

impl PixelValue for (f32, f32)[src]

impl PixelValue for (f32, f32, f32)[src]

impl PixelValue for (f32, f32, f32, f32)[src]

Loading content...

Implementors

Loading content...