pub(crate) fn from_code(code: u2) -> Fps {
        match code.as_int() {
            0 => Fps::Fps24,
            1 => Fps::Fps25,
            2 => Fps::Fps29,
            3 => Fps::Fps30,
            _ => unreachable!(),
        }
    }
/// Does the conversion from a 2-bit fps code to an `Fps` value.
Does the conversion from a 2-bit fps code to an `Fps` value.
Does the conversion from a 2 - bit fps code to an ` Fps ` value .
pub(crate) fn from_code(code: u2) -> Fps {
        match code.as_int() {
            0 => Fps::Fps24,
            1 => Fps::Fps25,
            2 => Fps::Fps29,
            3 => Fps::Fps30,
            _ => unreachable!(),
        }
    }
pub ( crate ) fn from_code ( code : u2 ) -> Fps { match code . as_int ( ) { 0 => Fps :: Fps24 , 1 => Fps :: Fps25 , 2 => Fps :: Fps29 , 3 => Fps :: Fps30 , _ => unreachable ! ( ) , } }
Does the conversion from a 2-bit fps code to an `Fps` value.
Does the conversion from a 2 - bit fps code to an ` Fps ` value .
code
u2
code
u2