logo
pub fn unit_product_length_conversion(
    a: &[(Unit, i8)],
    b: &[(Unit, i8)]
) -> Option<i8>
Expand description

If the Type::UnitProduct(a) can be converted to Type::UnitProduct(a) by multiplying by the scale factor, return that scale factor, otherwise, return None