Enum gltf::image::Format[][src]

pub enum Format {
    R8,
    R8G8,
    R8G8B8,
    R8G8B8A8,
}

Format of image pixel data.

Variants

Red only.

Red, green.

Red, green, blue.

Red, green, blue, alpha.

Trait Implementations

impl Clone for Format
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Format
[src]

impl Debug for Format
[src]

Formats the value using the given formatter. Read more

impl Eq for Format
[src]

impl Hash for Format
[src]

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

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

impl PartialEq for Format
[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 Format

impl Sync for Format