windows-metadata 0.60.0

Low-level metadata library for ECMA-335
Documentation
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) -> &str {
        self.str(0)
    }
}