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::records::r#type::Type;

impl Type {
    pub fn clone(&self) -> Type {
        Type {
            ty: self.ty.clone(),
            persistent: self.persistent,
            documentation_symbol: self.documentation_symbol.clone(),
            owning_arena: self.owning_arena,
        }
    }
}