Searched refs:CodegenConfig (Results 1 – 2 of 2) sorted by relevance
/third_party/rust/crates/bindgen/bindgen-cli/ |
D | options.rs | 3 builder, AliasVariation, Builder, CodegenConfig, EnumVariation, 20 fn parse_codegen_config(what_to_generate: &str) -> io::Result<CodegenConfig> { in parse_codegen_config() argument 21 let mut config = CodegenConfig::empty(); in parse_codegen_config() 24 "functions" => config.insert(CodegenConfig::FUNCTIONS), in parse_codegen_config() 25 "types" => config.insert(CodegenConfig::TYPES), in parse_codegen_config() 26 "vars" => config.insert(CodegenConfig::VARS), in parse_codegen_config() 27 "methods" => config.insert(CodegenConfig::METHODS), in parse_codegen_config() 28 "constructors" => config.insert(CodegenConfig::CONSTRUCTORS), in parse_codegen_config() 29 "destructors" => config.insert(CodegenConfig::DESTRUCTORS), in parse_codegen_config() 206 generate: Option<CodegenConfig>,
|
/third_party/rust/crates/bindgen/bindgen/ |
D | lib.rs | 138 pub struct CodegenConfig: u32 { 154 impl CodegenConfig { implementation 157 self.contains(CodegenConfig::FUNCTIONS) in functions() 162 self.contains(CodegenConfig::TYPES) in types() 167 self.contains(CodegenConfig::VARS) in vars() 172 self.contains(CodegenConfig::METHODS) in methods() 177 self.contains(CodegenConfig::CONSTRUCTORS) in constructors() 182 self.contains(CodegenConfig::DESTRUCTORS) in destructors() 186 impl Default for CodegenConfig { implementation 188 CodegenConfig::all() in default() [all …]
|