Trait glium::texture::Texture1dDataSource [] [src]

pub trait Texture1dDataSource<'a> {
    type Data: Send + Copy + Clone + 'a;
    fn into_raw(self) -> RawImage1d<'a, Self::Data>;
}

Trait that describes data for a one-dimensional texture.

Associated Types

The type of each pixel.

Required Methods

Returns the raw representation of the data.

Implementations on Foreign Types

impl<'a, P: PixelValue> Texture1dDataSource<'a> for Vec<P> where
    P: Copy + Clone + Send + 'static, 
[src]

[src]

impl<'a, P: PixelValue> Texture1dDataSource<'a> for &'a [P] where
    P: Copy + Clone + Send + 'static, 
[src]

[src]

Implementors