pub(crate) fn as_code(self) -> u2 {
        u2::from(match self {
            Fps::Fps24 => 0,
            Fps::Fps25 => 1,
            Fps::Fps29 => 2,
            Fps::Fps30 => 3,
        })
    }
/// Does the conversion to a 2-bit fps code.
Does the conversion to a 2-bit fps code.
Does the conversion to a 2 - bit fps code .
pub(crate) fn as_code(self) -> u2 {
        u2::from(match self {
            Fps::Fps24 => 0,
            Fps::Fps25 => 1,
            Fps::Fps29 => 2,
            Fps::Fps30 => 3,
        })
    }
pub ( crate ) fn as_code ( self ) -> u2 { u2 :: from ( match self { Fps :: Fps24 => 0 , Fps :: Fps25 => 1 , Fps :: Fps29 => 2 , Fps :: Fps30 => 3 , } ) }
Does the conversion to a 2-bit fps code.
Does the conversion to a 2 - bit fps code .
self
self