Function rustc_trans::middle::ty::enum_repr_typeUnstable
[-] [+]
[src]
pub fn enum_repr_type(cx: &ctxt<'tcx>, opt_hint: Option<&ReprAttr>) -> (IntType, &'tcx TyS<'tcx>)
Returns (normalized_type, ty)
, where normalized_type
is the
IntType representation of one of {i64,i32,i16,i8,u64,u32,u16,u8},
and ty
is the original type (i.e. may include isize
or
usize
).