Struct glium::texture::UnsignedTexture1dMipmap [] [src]

pub struct UnsignedTexture1dMipmap<'t>(_, _);

Represents a single mipmap level of a UnsignedTexture1d.

Can be obtained by calling UnsignedTexture1d::mipmap() or UnsignedTexture1d::main_level().

Methods

impl<'t> UnsignedTexture1dMipmap<'t>

fn get_texture(&self) -> &'t UnsignedTexture1d

Returns the corresponding texture.

fn get_level(&self) -> u32

Returns the texture level.

Trait Implementations

Derived Implementations

impl<'t> Clone for UnsignedTexture1dMipmap<'t>

fn clone(&self) -> UnsignedTexture1dMipmap<'t>

fn clone_from(&mut self, source: &Self)

impl<'t> Copy for UnsignedTexture1dMipmap<'t>