Skip to main content

pixfmt

Function pixfmt 

Source
pub fn pixfmt<FMT: PixelFormat>() -> Result<PixFmt, &'static str>
Expand description

Convert a compile-time type FMT into a runtime type.