Module opencv_binding_generator::settings
source · Structs
Enums
Statics
cpp_name(Reference)
Manual export config adjustments in form of “cpp_name(Reference)” => fn(&mut ExportConfig). If the export config is not
detected from the sources an
ExportConfig::default()
is passed to the function.cpp_name(Reference)
set of classes that must be generated as traits, elements are Class.cpp_name(Reference)()
cpp_name(Reference)
identifier => (rust_attr, cpp_attr)
dict of functions with manual implementations
key: FuncInfo.identifier
value: dict
keys: “rust_safe”, “rust_extern”, “cpp”, missing key means skip particular implementation
values: template to use for manual implementation or “~” to use default implementation
map of functions to rename or skip, key is Func.identifier(), value is new name (“+” will be replaced by old name) or “-” to skip
set of functions that should have unsafe in their declaration, element is Func.identifier()
list of module names that must use manual module comment extraction
cpp_name(Reference)
cpp_name(Reference)
cpp_name(Reference) => ( rust_name(Reference(No)), cpp_name(Reference) )
map of reserved Rust keywords and their replacement to be used in var, function and class names
key: reserved keyword
value: replacement