Struct glium::texture::compressed_srgb_cubemap::CompressedSrgbCubemapImage
[−]
[src]
pub struct CompressedSrgbCubemapImage<'t>(_, _);
Represents a single image of a mipmap level of a layer of CompressedSrgbCubemap
.
Methods
impl<'t> CompressedSrgbCubemapImage<'t>
[src]
fn width(&self) -> u32
Returns the width of that image.
fn height(&self) -> u32
Returns the height of that image.
fn dimensions(&self) -> u32
Returns the dimension of that image.
Trait Implementations
impl<'t> Clone for CompressedSrgbCubemapImage<'t>
[src]
fn clone(&self) -> CompressedSrgbCubemapImage<'t>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'t> Copy for CompressedSrgbCubemapImage<'t>
[src]
impl<'t> Into<TextureAnyImage<'t>> for CompressedSrgbCubemapImage<'t>
[src]
fn into(self) -> TextureAnyImage<'t>
Performs the conversion.