es-fluent-shared 0.15.0

Shared runtime-safe types and helpers for the es-fluent ecosystem
Documentation
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,
}