1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; impl std::fmt::Debug for ModuleRef { fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { f.debug_tuple("ModuleRef").field(&self.name()).finish() } } impl ModuleRef { pub fn name(&self) -> &'static str { self.str(0) } }