pub fn name(self) -> &'static str {
        use self::Primitive::*;
        match self {
            Bool => "bool",
            I8 => "i8",
            U8 => "u8",
            I16 => "i16",
            U16 => "u16",
            I32 => "i32",
            U32 => "u32",
            I64 => "i64",
            U64 => "u64",
            F32 => "f32",
            F64 => "f64",
        }
    }
/// Get the rust name for a primitive type
Get the rust name for a primitive type
Get the rust name for a primitive type
pub fn name(self) -> &'static str {
        use self::Primitive::*;
        match self {
            Bool => "bool",
            I8 => "i8",
            U8 => "u8",
            I16 => "i16",
            U16 => "u16",
            I32 => "i32",
            U32 => "u32",
            I64 => "i64",
            U64 => "u64",
            F32 => "f32",
            F64 => "f64",
        }
    }
pub fn name ( self ) -> & ' static str { use self :: Primitive :: * ; match self { Bool => " " , I8 => " " , U8 => " " , I16 => " " , U16 => " " , I32 => " " , U32 => " " , I64 => " " , U64 => " " , F32 => " " , F64 => " " , } }
Get the rust name for a primitive type
Get the rust name for a primitive type
self
self