#[repr(u64)]
pub enum ColorFormat {
Show 230 variants Unspecified, NonColor8, NonColor16, NonColor24, NonColor32, X4C4, A4L4, A8L8, Float_A16L16, A1B5G5R5, A4B4G4R4, A5B5G5R1, A2B10G10R10, A8B8G8R8, A16B16G16R16, Float_A16B16G16R16, A1R5G5B5, A4R4G4B4, A5R1G5B5, A2R10G10B10, A8R8G8B8, A1, A2, A4, A8, A16, A32, Float_A16, L4A4, L8A8, B4G4R4A4, B5G5R1A5, B5G5R5A1, B8G8R8A8, B10G10R10A2, R1G5B5A5, R4G4B4A4, R5G5B5A1, R8G8B8A8, R10G10B10A2, L1, L2, L4, L8, L16, L32, Float_L16, B5G6R5, B6G5R5, B5G5R5X1, B8_G8_R8, B8G8R8X8, Float_B10G11R11, X1B5G5R5, X8B8G8R8, X16B16G16R16, Float_X16B16G16R16, R3G3B2, R5G5B6, R5G6B5, R5G5B5X1, R8_G8_B8, R8G8B8X8, X1R5G5B5, X8R8G8B8, RG8, R16G16, Float_R16G16, R8, R16, Float_R16, A2B10G10R10_sRGB, A8B8G8R8_sRGB, A16B16G16R16_sRGB, A2R10G10B10_sRGB, B10G10R10A2_sRGB, R10G10B10A2_sRGB, X8B8G8R8_sRGB, X16B16G16R16_sRGB, A2B10G10R10_709, A8B8G8R8_709, A16B16G16R16_709, A2R10G10B10_709, B10G10R10A2_709, R10G10B10A2_709, X8B8G8R8_709, X16B16G16R16_709, A2B10G10R10_709_Linear, A8B8G8R8_709_Linear, A16B16G16R16_709_Linear, A2R10G10B10_709_Linear, B10G10R10A2_709_Linear, R10G10B10A2_709_Linear, X8B8G8R8_709_Linear, X16B16G16R16_709_Linear, Float_A16B16G16R16_scRGB_Linear, A2B10G10R10_2020, A8B8G8R8_2020, A16B16G16R16_2020, A2R10G10B10_2020, B10G10R10A2_2020, R10G10B10A2_2020, X8B8G8R8_2020, X16B16G16R16_2020, A2B10G10R10_2020_Linear, A8B8G8R8_2020_Linear, A16B16G16R16_2020_Linear, Float_A16B16G16R16_2020_Linear, A2R10G10B10_2020_Linear, B10G10R10A2_2020_Linear, R10G10B10A2_2020_Linear, X8B8G8R8_2020_Linear, X16B16G16R16_2020_Linear, Float_A16B16G16R16_2020_PQ, A4I4, A8I8, I4A4, I8A8, I1, I2, I4, I8, A8Y8U8V8, A16Y16U16V16, Y8U8V8A8, V8_U8, V8U8, V10U10, V12U12, V8, V10, V12, U8_V8, U8V8, U10V10, U12V12, U8, U10, U12, Y8, Y10, Y12, YVYU, VYUY, YUYV, UYVY, Y8_U8_V8, V8_U8_RR, V8U8_RR, V8_RR, U8_V8_RR, U8V8_RR, U8_RR, Y8_RR, V8_U8_ER, V8U8_ER, V8_ER, U8_V8_ER, U8V8_ER, U8_ER, Y8_ER, V8_U8_709, V8U8_709, V10U10_709, V12U12_709, V8_709, V10_709, V12_709, U8_V8_709, U8V8_709, U10V10_709, U12V12_709, U8_709, U10_709, U12_709, Y8_709, Y10_709, Y12_709, V8_U8_709_ER, V8U8_709_ER, V10U10_709_ER, V12U12_709_ER, V8_709_ER, V10_709_ER, V12_709_ER, U8_V8_709_ER, U8V8_709_ER, U10V10_709_ER, U12V12_709_ER, U8_709_ER, U10_709_ER, U12_709_ER, Y8_709_ER, Y10_709_ER, Y12_709_ER, V10U10_2020, V12U12_2020, V10_2020, V12_2020, U10V10_2020, U12V12_2020, U10_2020, U12_2020, Y10_2020, Y12_2020, Bayer8RGGB, Bayer16RGGB, BayerS16RGGB, X2Bayer14RGGB, X4Bayer12RGGB, X6Bayer10RGGB, Bayer8BGGR, Bayer16BGGR, BayerS16BGGR, X2Bayer14BGGR, X4Bayer12BGGR, X6Bayer10BGGR, Bayer8GRBG, Bayer16GRBG, BayerS16GRBG, X2Bayer14GRBG, X4Bayer12GRBG, X6Bayer10GRBG, Bayer8GBRG, Bayer16GBRG, BayerS16GBRG, X2Bayer14GBRG, X4Bayer12GBRG, X6Bayer10GBRG, XYZ,
}

Variants

Unspecified

NonColor8

NonColor16

NonColor24

NonColor32

X4C4

A4L4

A8L8

Float_A16L16

A1B5G5R5

A4B4G4R4

A5B5G5R1

A2B10G10R10

A8B8G8R8

A16B16G16R16

Float_A16B16G16R16

A1R5G5B5

A4R4G4B4

A5R1G5B5

A2R10G10B10

A8R8G8B8

A1

A2

A4

A8

A16

A32

Float_A16

L4A4

L8A8

B4G4R4A4

B5G5R1A5

B5G5R5A1

B8G8R8A8

B10G10R10A2

R1G5B5A5

R4G4B4A4

R5G5B5A1

R8G8B8A8

R10G10B10A2

L1

L2

L4

L8

L16

L32

Float_L16

B5G6R5

B6G5R5

B5G5R5X1

B8_G8_R8

B8G8R8X8

Float_B10G11R11

X1B5G5R5

X8B8G8R8

X16B16G16R16

Float_X16B16G16R16

R3G3B2

R5G5B6

R5G6B5

R5G5B5X1

R8_G8_B8

R8G8B8X8

X1R5G5B5

X8R8G8B8

RG8

R16G16

Float_R16G16

R8

R16

Float_R16

A2B10G10R10_sRGB

A8B8G8R8_sRGB

A16B16G16R16_sRGB

A2R10G10B10_sRGB

B10G10R10A2_sRGB

R10G10B10A2_sRGB

X8B8G8R8_sRGB

X16B16G16R16_sRGB

A2B10G10R10_709

A8B8G8R8_709

A16B16G16R16_709

A2R10G10B10_709

B10G10R10A2_709

R10G10B10A2_709

X8B8G8R8_709

X16B16G16R16_709

A2B10G10R10_709_Linear

A8B8G8R8_709_Linear

A16B16G16R16_709_Linear

A2R10G10B10_709_Linear

B10G10R10A2_709_Linear

R10G10B10A2_709_Linear

X8B8G8R8_709_Linear

X16B16G16R16_709_Linear

Float_A16B16G16R16_scRGB_Linear

A2B10G10R10_2020

A8B8G8R8_2020

A16B16G16R16_2020

A2R10G10B10_2020

B10G10R10A2_2020

R10G10B10A2_2020

X8B8G8R8_2020

X16B16G16R16_2020

A2B10G10R10_2020_Linear

A8B8G8R8_2020_Linear

A16B16G16R16_2020_Linear

Float_A16B16G16R16_2020_Linear

A2R10G10B10_2020_Linear

B10G10R10A2_2020_Linear

R10G10B10A2_2020_Linear

X8B8G8R8_2020_Linear

X16B16G16R16_2020_Linear

Float_A16B16G16R16_2020_PQ

A4I4

A8I8

I4A4

I8A8

I1

I2

I4

I8

A8Y8U8V8

A16Y16U16V16

Y8U8V8A8

V8_U8

V8U8

V10U10

V12U12

V8

V10

V12

U8_V8

U8V8

U10V10

U12V12

U8

U10

U12

Y8

Y10

Y12

YVYU

VYUY

YUYV

UYVY

Y8_U8_V8

V8_U8_RR

V8U8_RR

V8_RR

U8_V8_RR

U8V8_RR

U8_RR

Y8_RR

V8_U8_ER

V8U8_ER

V8_ER

U8_V8_ER

U8V8_ER

U8_ER

Y8_ER

V8_U8_709

V8U8_709

V10U10_709

V12U12_709

V8_709

V10_709

V12_709

U8_V8_709

U8V8_709

U10V10_709

U12V12_709

U8_709

U10_709

U12_709

Y8_709

Y10_709

Y12_709

V8_U8_709_ER

V8U8_709_ER

V10U10_709_ER

V12U12_709_ER

V8_709_ER

V10_709_ER

V12_709_ER

U8_V8_709_ER

U8V8_709_ER

U10V10_709_ER

U12V12_709_ER

U8_709_ER

U10_709_ER

U12_709_ER

Y8_709_ER

Y10_709_ER

Y12_709_ER

V10U10_2020

V12U12_2020

V10_2020

V12_2020

U10V10_2020

U12V12_2020

U10_2020

U12_2020

Y10_2020

Y12_2020

Bayer8RGGB

Bayer16RGGB

BayerS16RGGB

X2Bayer14RGGB

X4Bayer12RGGB

X6Bayer10RGGB

Bayer8BGGR

Bayer16BGGR

BayerS16BGGR

X2Bayer14BGGR

X4Bayer12BGGR

X6Bayer10BGGR

Bayer8GRBG

Bayer16GRBG

BayerS16GRBG

X2Bayer14GRBG

X4Bayer12GRBG

X6Bayer10GRBG

Bayer8GBRG

Bayer16GBRG

BayerS16GBRG

X2Bayer14GBRG

X4Bayer12GBRG

X6Bayer10GBRG

XYZ

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests for !=.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.