Struct rust_code_analysis::PreprocFile [−][src]
pub struct PreprocFile {
pub direct_includes: HashSet<String>,
pub indirect_includes: HashSet<String>,
pub macros: HashSet<String>,
}
Expand description
Preprocessor data of a C/C++
file.
Fields
direct_includes: HashSet<String>
The set of include directives explicitly written in a file
indirect_includes: HashSet<String>
The set of include directives implicitly imported in a file from other files
macros: HashSet<String>
The set of macros of a file
Implementations
Adds new macros to the set of macro of a file.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more