Trait glium::texture::Texture1dDataSource
source · pub trait Texture1dDataSource<'a> {
type Data: Send + Copy + Clone + 'a;
// Required method
fn into_raw(self) -> RawImage1d<'a, Self::Data>;
}
Expand description
Trait that describes data for a one-dimensional texture.
Required Associated Types§
Required Methods§
sourcefn into_raw(self) -> RawImage1d<'a, Self::Data>
fn into_raw(self) -> RawImage1d<'a, Self::Data>
Returns the raw representation of the data.