pub fn new(numer: u32, denom: u32) -> Self {
        if numer == 0 || denom == 0{
            panic!("TimeBase cannot have 0 numerator or denominator");
        }

        TimeBase { numer, denom }
    }
/// Creates a new `TimeBase`. Panics if either the numerator or denominator is 0.
Creates a new `TimeBase`. Panics if either the numerator or denominator is 0.
Creates a new ` TimeBase ` . Panics if either the numerator or denominator is 0 .
pub fn new(numer: u32, denom: u32) -> Self {
        if numer == 0 || denom == 0{
            panic!("TimeBase cannot have 0 numerator or denominator");
        }
        TimeBase { numer, denom }
    }
pub fn new ( numer : u32 , denom : u32 ) -> Self { if numer == 0 || denom == 0 { panic ! ( " " ) ; } TimeBase { numer , denom } }
Creates a new `TimeBase`.
Creates a new ` TimeBase ` .
numer
u32
denom
u32
numer
u32
denom
u32