Struct luminance::texture::TextureProxy [] [src]

pub struct TextureProxy<'a, C> where C: HasTexture + 'a {
    pub repr: &'a C::ATexture,
}

An opaque type representing any texture.

Fields

Trait Implementations

impl<'a, C, L, D, P> From<&'a Texture<C, L, D, P>> for TextureProxy<'a, C> where C: HasTexture, L: Layerable, D: Dimensionable, D::Size: Copy, P: Pixel
[src]

Performs the conversion.