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