Trait nannou::ui::backend::glium::glium::texture::Texture1dDataSource [−][src]
pub trait Texture1dDataSource<'a> { type Data: 'a + Send + Copy + Clone; fn into_raw(self) -> RawImage1d<'a, Self::Data>; }
Trait that describes data for a one-dimensional texture.
Associated Types
Required Methods
fn into_raw(self) -> RawImage1d<'a, Self::Data>
Returns the raw representation of the data.
Implementations on Foreign Types
impl<'a, P> Texture1dDataSource<'a> for Vec<P> where
P: PixelValue + Copy + Clone + Send + 'static,
[src]
impl<'a, P> Texture1dDataSource<'a> for Vec<P> where
P: PixelValue + Copy + Clone + Send + 'static,
type Data = P
fn into_raw(self) -> RawImage1d<'a, P>
[src]
fn into_raw(self) -> RawImage1d<'a, P>
impl<'a, P> Texture1dDataSource<'a> for &'a [P] where
P: PixelValue + Copy + Clone + Send + 'static,
[src]
impl<'a, P> Texture1dDataSource<'a> for &'a [P] where
P: PixelValue + Copy + Clone + Send + 'static,
type Data = P
fn into_raw(self) -> RawImage1d<'a, P>
[src]
fn into_raw(self) -> RawImage1d<'a, P>
Implementors
impl<'a, P> Texture1dDataSource<'a> for RawImage1d<'a, P> where
P: PixelValue + Clone, type Data = P;