fn repr(&self) -> TypeConst {
        match *self {
            TypeConst::Empty => TypeConst::Unit,
            TypeConst::Error => TypeConst::Bottom,
            TypeConst::U8 => TypeConst::Unsigned(UnsignedType::U8),
            TypeConst::I8 => TypeConst::Signed(SignedType::I8),
            TypeConst::U16(_) => TypeConst::Unsigned(UnsignedType::U16),
            TypeConst::U24(_) => TypeConst::Unsigned(UnsignedType::U24),
            TypeConst::U32(_) => TypeConst::Unsigned(UnsignedType::U32),
            TypeConst::U64(_) => TypeConst::Unsigned(UnsignedType::U64),
            TypeConst::I16(_) => TypeConst::Signed(SignedType::I16),
            TypeConst::I24(_) => TypeConst::Signed(SignedType::I24),
            TypeConst::I32(_) => TypeConst::Signed(SignedType::I32),
            TypeConst::I64(_) => TypeConst::Signed(SignedType::I64),
            TypeConst::F32(_) => TypeConst::Float(FloatType::F32),
            TypeConst::F64(_) => TypeConst::Float(FloatType::F64),

            _ => panic!("Called TypeConst::repr on {:?}", self),
        }
    }
/// Convert a binary type constant to its corresponding host representation
Convert a binary type constant to its corresponding host representation
Convert a binary type constant to its corresponding host representation
fn repr(&self) -> TypeConst {
        match *self {
            TypeConst::Empty => TypeConst::Unit,
            TypeConst::Error => TypeConst::Bottom,
            TypeConst::U8 => TypeConst::Unsigned(UnsignedType::U8),
            TypeConst::I8 => TypeConst::Signed(SignedType::I8),
            TypeConst::U16(_) => TypeConst::Unsigned(UnsignedType::U16),
            TypeConst::U24(_) => TypeConst::Unsigned(UnsignedType::U24),
            TypeConst::U32(_) => TypeConst::Unsigned(UnsignedType::U32),
            TypeConst::U64(_) => TypeConst::Unsigned(UnsignedType::U64),
            TypeConst::I16(_) => TypeConst::Signed(SignedType::I16),
            TypeConst::I24(_) => TypeConst::Signed(SignedType::I24),
            TypeConst::I32(_) => TypeConst::Signed(SignedType::I32),
            TypeConst::I64(_) => TypeConst::Signed(SignedType::I64),
            TypeConst::F32(_) => TypeConst::Float(FloatType::F32),
            TypeConst::F64(_) => TypeConst::Float(FloatType::F64),
            _ => panic!("Called TypeConst::repr on {:?}", self),
        }
    }
fn repr ( & self ) -> TypeConst { match * self { TypeConst :: Empty => TypeConst :: Unit , TypeConst :: Error => TypeConst :: Bottom , TypeConst :: U8 => TypeConst :: Unsigned ( UnsignedType :: U8 ) , TypeConst :: I8 => TypeConst :: Signed ( SignedType :: I8 ) , TypeConst :: U16 ( _ ) => TypeConst :: Unsigned ( UnsignedType :: U16 ) , TypeConst :: U24 ( _ ) => TypeConst :: Unsigned ( UnsignedType :: U24 ) , TypeConst :: U32 ( _ ) => TypeConst :: Unsigned ( UnsignedType :: U32 ) , TypeConst :: U64 ( _ ) => TypeConst :: Unsigned ( UnsignedType :: U64 ) , TypeConst :: I16 ( _ ) => TypeConst :: Signed ( SignedType :: I16 ) , TypeConst :: I24 ( _ ) => TypeConst :: Signed ( SignedType :: I24 ) , TypeConst :: I32 ( _ ) => TypeConst :: Signed ( SignedType :: I32 ) , TypeConst :: I64 ( _ ) => TypeConst :: Signed ( SignedType :: I64 ) , TypeConst :: F32 ( _ ) => TypeConst :: Float ( FloatType :: F32 ) , TypeConst :: F64 ( _ ) => TypeConst :: Float ( FloatType :: F64 ) , _ => panic ! ( " " self ) , } }
Convert a binary type constant to its corresponding host representation
Convert a binary type constant to its corresponding host representation
&self
&self