luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::type_aliases::type_id::TypeId;

#[allow(non_camel_case_types)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct GeneralizationResult {
    pub result: Option<TypeId>,
    pub was_replaced_by_generic: bool,
    pub resource_limits_exceeded: bool,
}

unsafe impl Send for GeneralizationResult {}
unsafe impl Sync for GeneralizationResult {}