Enum rute::auto::image::Format

source ·
#[repr(u32)]
pub enum Format {
Show 26 variants FormatInvalid, FormatMono, FormatMonoLsb, FormatIndexed8, FormatRgB32, FormatArgB32, FormatArgB32Premultiplied, FormatRgB16, FormatArgB8565Premultiplied, FormatRgB666, FormatArgB6666Premultiplied, FormatRgB555, FormatArgB8555Premultiplied, FormatRgB888, FormatRgB444, FormatArgB4444Premultiplied, FormatRgbX8888, FormatRgbA8888, FormatRgbA8888Premultiplied, FormatBgR30, FormatA2BgR30Premultiplied, FormatRgB30, FormatA2RgB30Premultiplied, FormatAlpha8, FormatGrayscale8, NImageFormats,
}

Variants

FormatInvalid

FormatMono

FormatMonoLsb

FormatIndexed8

FormatRgB32

FormatArgB32

FormatArgB32Premultiplied

FormatRgB16

FormatArgB8565Premultiplied

FormatRgB666

FormatArgB6666Premultiplied

FormatRgB555

FormatArgB8555Premultiplied

FormatRgB888

FormatRgB444

FormatArgB4444Premultiplied

FormatRgbX8888

FormatRgbA8888

FormatRgbA8888Premultiplied

FormatBgR30

FormatA2BgR30Premultiplied

FormatRgB30

FormatA2RgB30Premultiplied

FormatAlpha8

FormatGrayscale8

NImageFormats

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.