Enum nannou::ui::backend::glium::glium::texture::SrgbFormat[][src]

pub enum SrgbFormat {
    U8U8U8,
    U8U8U8U8,
}

List of uncompressed pixel formats that contain floating-point data in the sRGB color space.

Variants

Methods

impl SrgbFormat
[src]

Important traits for Vec<u8>

Returns a list of all the possible values of this enumeration.

Turns this format into a more generic TextureFormat.

Returns true if this format is supported by the backend.

Returns true if a texture or renderbuffer with this format can be used as a framebuffer attachment.

Trait Implementations

impl Hash for SrgbFormat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for SrgbFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SrgbFormat
[src]

Formats the value using the given formatter. Read more

impl Copy for SrgbFormat
[src]

impl Eq for SrgbFormat
[src]

impl PartialEq<SrgbFormat> for SrgbFormat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for SrgbFormat

impl Sync for SrgbFormat