/// Provide a textual description of the kind of type. For example, if
/// called on an integer type, the result is `"integer type"`, without any
/// information on the exact nature of the integer.
Provide a textual description of the kind of type. For example, if
called on an integer type, the result is `"integer type"`, without any
information on the exact nature of the integer.
Provide a textual description of the kind of type . For example if called on an integer type the result is ` " integer type " ` without any information on the exact nature of the integer .
pub fn kind_desc(&self) -> &'static str {
        match *self {
            Ty::Named(..) => "named type",
            Ty::Null => "null type",
            Ty::Int(_) | Ty::UnboundedInt | Ty::UniversalInt => "integer type",
            Ty::Enum(_) => "enumeration type",
            Ty::Physical(_) => "physical type",
            Ty::Access(_) => "access type",
            Ty::Array(_) => "array type",
            Ty::File(..) => "file type",
            Ty::Record(_) => "record type",
            Ty::Subprog(_) => "subprogram type",
        }
    }
pub fn kind_desc ( & self ) -> & ' static str { match * self { Ty :: Named ( .. ) => " " , Ty :: Null => " " , Ty :: Int ( _ ) | Ty :: UnboundedInt | Ty :: UniversalInt => " " , Ty :: Enum ( _ ) => " " , Ty :: Physical ( _ ) => " " , Ty :: Access ( _ ) => " " , Ty :: Array ( _ ) => " " , Ty :: File ( .. ) => " " , Ty :: Record ( _ ) => " " , Ty :: Subprog ( _ ) => " " , } }
Provide a textual description of the kind of type.
Provide a textual description of the kind of type .
&self