1 2 3 4 5 6 7 8 9 10
//! This module provides types for representing the kind of a type. use serde::Serialize; #[derive(Clone, Debug, strum::Display, Eq, Hash, strum::IntoStaticStr, PartialEq, Serialize)] #[strum(serialize_all = "snake_case")] pub enum TypeKind { Enum, Struct, }