Home
last modified time | relevance | path

Searched refs:CodegenConfig (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/bindgen/src/
Doptions.rs2 builder, AliasVariation, Builder, CodegenConfig, EnumVariation,
702 let mut config = CodegenConfig::empty(); in builder_from_flags()
705 "functions" => config.insert(CodegenConfig::FUNCTIONS), in builder_from_flags()
706 "types" => config.insert(CodegenConfig::TYPES), in builder_from_flags()
707 "vars" => config.insert(CodegenConfig::VARS), in builder_from_flags()
708 "methods" => config.insert(CodegenConfig::METHODS), in builder_from_flags()
709 "constructors" => config.insert(CodegenConfig::CONSTRUCTORS), in builder_from_flags()
710 "destructors" => config.insert(CodegenConfig::DESTRUCTORS), in builder_from_flags()
Dlib.rs117 pub struct CodegenConfig: u32 {
133 impl CodegenConfig { implementation
136 self.contains(CodegenConfig::FUNCTIONS) in functions()
141 self.contains(CodegenConfig::TYPES) in types()
146 self.contains(CodegenConfig::VARS) in vars()
151 self.contains(CodegenConfig::METHODS) in methods()
156 self.contains(CodegenConfig::CONSTRUCTORS) in constructors()
161 self.contains(CodegenConfig::DESTRUCTORS) in destructors()
165 impl Default for CodegenConfig { implementation
167 CodegenConfig::all() in default()
[all …]