pub const fn as_str(&self) -> &'static str {
        use PixFmt::*;
        match self {
            Mono8 => "Mono8",
            Mono32f => "Mono32f",
            RGB8 => "RGB8",
            RGBA8 => "RGBA8",
            BayerRG8 => "BayerRG8",
            BayerRG32f => "BayerRG32f",
            BayerBG8 => "BayerBG8",
            BayerBG32f => "BayerBG32f",
            BayerGB8 => "BayerGB8",
            BayerGB32f => "BayerGB32f",
            BayerGR8 => "BayerGR8",
            BayerGR32f => "BayerGR32f",
            YUV444 => "YUV444",
            YUV422 => "YUV422",
            NV12 => "NV12",
        }
    }
/// The name of the pixel format.
The name of the pixel format.
The name of the pixel format .
pub const fn as_str(&self) -> &'static str {
        use PixFmt::*;
        match self {
            Mono8 => "Mono8",
            Mono32f => "Mono32f",
            RGB8 => "RGB8",
            RGBA8 => "RGBA8",
            BayerRG8 => "BayerRG8",
            BayerRG32f => "BayerRG32f",
            BayerBG8 => "BayerBG8",
            BayerBG32f => "BayerBG32f",
            BayerGB8 => "BayerGB8",
            BayerGB32f => "BayerGB32f",
            BayerGR8 => "BayerGR8",
            BayerGR32f => "BayerGR32f",
            YUV444 => "YUV444",
            YUV422 => "YUV422",
            NV12 => "NV12",
        }
    }
pub const fn as_str ( & self ) -> & ' static str { use PixFmt :: * ; match self { Mono8 => " " , Mono32f => " " , RGB8 => " " , RGBA8 => " " , BayerRG8 => " " , BayerRG32f => " " , BayerBG8 => " " , BayerBG32f => " " , BayerGB8 => " " , BayerGB32f => " " , BayerGR8 => " " , BayerGR32f => " " , YUV444 => " " , YUV422 => " " , NV12 => " " , } }
The name of the pixel format.
The name of the pixel format .
&self
&self