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