Enum machine_vision_formats::pixel_format::PixFmt [−][src]
#[non_exhaustive]
pub enum PixFmt {
Show 15 variants
Mono8,
Mono32f,
RGB8,
RGBA8,
BayerRG8,
BayerRG32f,
BayerBG8,
BayerBG32f,
BayerGB8,
BayerGB32f,
BayerGR8,
BayerGR32f,
YUV444,
YUV422,
NV12,
}
Expand description
This type allows runtime inspection of pixel format.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
Convert a runtime variant into a static type.
The average number of bits per pixel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PixFmt
impl UnwindSafe for PixFmt
Blanket Implementations
Mutably borrows from an owned value. Read more