rue_types/types/
structs.rs1use indexmap::IndexSet;
2use rue_diagnostic::Name;
3
4use crate::TypeId;
5
6#[derive(Debug, Clone)]
7pub struct Struct {
8 pub name: Option<Name>,
9 pub semantic: TypeId,
10 pub inner: TypeId,
11 pub generics: Vec<TypeId>,
12 pub fields: IndexSet<String>,
13 pub nil_terminated: bool,
14}