Module opencv_binding_generator::settings[][src]

Structs

ModuleTweak

Enums

SliceHint

Statics

CONST_TYPE_USIZE
DATA_TYPES
ELEMENT_EXCLUDE

cpp_fullname

ELEMENT_EXPORT_MANUAL

Manual export config in form of “cpp_fullname” => ExportConfig, will totally override what’s detected from the headers. Use it to add export config where none exists.

ELEMENT_EXPORT_TWEAK
ELEMENT_IGNORE

cpp_fullname

FORCE_CLASS_ABSTRACT

set of classes that must be generated as traits, elements are Class.cpp_fullname()

FORCE_CONSTANT_METHOD

cpp_fullname

FORCE_NOEXCEPT

(cpp_fullname, argument count)

FUNC_CFG_ATTR
FUNC_MANUAL

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

FUNC_RENAME

map of functions to rename or skip, key is Func.identifier(), value is new name (“+” will be replaced by old name) or “-” to skip

FUNC_SPECIALIZE
FUNC_UNSAFE

set of functions that should have unsafe in their declaration, element is Func.identifier()

GENERATOR_MODULE_TWEAKS
IGNORE_CLANG_MODULE_COMMENT

list of module names that must use manual module comment extraction

IMPLEMENTED_FUNCTION_LIKE_MACROS
IMPLEMENTED_GENERICS
NO_SKIP_NAMESPACE_IN_LOCALNAME
PREVENT_VECTOR_TYPEDEF_GENERATION
PRIMITIVE_TYPEDEFS

cpp_fullname => ( rust_fullname, cpp_fullname )

RESERVED_RENAME

map of reserved Rust keywords and their replacement to be used in var, function and class names key: reserved keyword value: replacement

SLICE_ARGUMENT

(cpp_fullname, argument count)

STATIC_MODULES