#[repr(C)]
pub enum Encoding {
Show 48 variants Unknown, RGB8, RGBA8, RGB16, RGBA16, BGR8, BGRA8, BGR16, BGRA16, MONO8, MONO16, Type8UC1, Type8UC2, Type8UC3, Type8UC4, Type8SC1, Type8SC2, Type8SC3, Type8SC4, Type16UC1, Type16UC2, Type16UC3, Type16UC4, Type16SC1, Type16SC2, Type16SC3, Type16SC4, Type32SC1, Type32SC2, Type32SC3, Type32SC4, Type32FC1, Type32FC2, Type32FC3, Type32FC4, Type64FC1, Type64FC2, Type64FC3, Type64FC4, BayerRGGB8, BayerBGGR8, BayerGBRG8, BayerGRBG8, BayerRGGB16, BayerBGGR16, BayerGBRG16, BayerGrbg16, YUV422,
}

Variants

Unknown

RGB8

RGBA8

RGB16

RGBA16

BGR8

BGRA8

BGR16

BGRA16

MONO8

MONO16

Type8UC1

Type8UC2

Type8UC3

Type8UC4

Type8SC1

Type8SC2

Type8SC3

Type8SC4

Type16UC1

Type16UC2

Type16UC3

Type16UC4

Type16SC1

Type16SC2

Type16SC3

Type16SC4

Type32SC1

Type32SC2

Type32SC3

Type32SC4

Type32FC1

Type32FC2

Type32FC3

Type32FC4

Type64FC1

Type64FC2

Type64FC3

Type64FC4

BayerRGGB8

BayerBGGR8

BayerGBRG8

BayerGRBG8

BayerRGGB16

BayerBGGR16

BayerGBRG16

BayerGrbg16

YUV422

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

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
Unerase this erased pointer. Read more
Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more
Turn this erasable pointer into an erased pointer. 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.