luaur-repl-cli 0.1.1

Interactive Luau REPL (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::records::function_counters::FunctionCounters;

#[derive(Debug, Clone)]
pub struct ModuleCounters {
    pub(crate) name: alloc::string::String,
    pub(crate) functions: alloc::vec::Vec<FunctionCounters>,
}

impl Default for ModuleCounters {
    fn default() -> Self {
        Self {
            name: alloc::string::String::new(),
            functions: alloc::vec::Vec::new(),
        }
    }
}