Struct glitter::image_data::ImageFormat
[−]
[src]
pub struct ImageFormat { pub texel_type: TexelType, pub texel_format: TexelFormat, }
A type that contains the texel type and format that make up a 2D image.
Fields
texel_type: TexelType
The texel type of the image.
texel_format: TexelFormat
The texel format of the image.
Methods
impl ImageFormat
[src]
Trait Implementations
impl Debug for ImageFormat
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ImageFormat
[src]
fn clone(&self) -> ImageFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more