pub fn format(&self) -> Option<BitstreamFormat> {
        match self.0.format {
            0 => Some(BitstreamFormat::Undefined),
            1 => Some(BitstreamFormat::Lossy),
            2 => Some(BitstreamFormat::Lossless),
            _ => None,
        }
    }
/// Returns the format of the image as described by image bitstream.
Returns the format of the image as described by image bitstream.
Returns the format of the image as described by image bitstream .
pub fn format(&self) -> Option<BitstreamFormat> {
        match self.0.format {
            0 => Some(BitstreamFormat::Undefined),
            1 => Some(BitstreamFormat::Lossy),
            2 => Some(BitstreamFormat::Lossless),
            _ => None,
        }
    }
pub fn format ( & self ) -> Option < BitstreamFormat > { match self . 0 . format { 0 => Some ( BitstreamFormat :: Undefined ) , 1 => Some ( BitstreamFormat :: Lossy ) , 2 => Some ( BitstreamFormat :: Lossless ) , _ => None , } }
Returns the format of the image as described by image bitstream.
Returns the format of the image as described by image bitstream .
&self
&self