Function machine_vision_formats::pixel_format::pixfmt
source · pub fn pixfmt<FMT: PixelFormat>() -> Result<PixFmt, &'static str>Expand description
Convert a compile-time type FMT into a runtime type.
pub fn pixfmt<FMT: PixelFormat>() -> Result<PixFmt, &'static str>Convert a compile-time type FMT into a runtime type.