// Returns the width of a float TypeVariant
// Returns None if the type is not a float
Returns the width of a float TypeVariant
Returns None if the type is not a float
Returns the width of a float TypeVariant Returns None if the type is not a float
fn float_type_width<'tcx>(sty: &ty::TypeVariants<'tcx>) -> Option<u64> {
    match *sty {
        ty::TyFloat(t) => Some(t.bit_width() as u64),
        _ => None,
    }
}
fn float_type_width < ' tcx > ( sty : & ty :: TypeVariants < ' tcx > ) -> Option < u64 > { match * sty { ty :: TyFloat ( t ) => Some ( t . bit_width ( ) as u64 ) , _ => None , } }
Returns the width of a float TypeVariant
Returns None if the type is not a float
Returns the width of a float TypeVariant Returns None if the type is not a float
sty
&ty::TypeVariants<'tcx>