Skip to main content

luaur_repl_cli/records/
module_counters.rs

1use crate::records::function_counters::FunctionCounters;
2
3#[derive(Debug, Clone)]
4pub struct ModuleCounters {
5    pub(crate) name: alloc::string::String,
6    pub(crate) functions: alloc::vec::Vec<FunctionCounters>,
7}
8
9impl Default for ModuleCounters {
10    fn default() -> Self {
11        Self {
12            name: alloc::string::String::new(),
13            functions: alloc::vec::Vec::new(),
14        }
15    }
16}