Module settings

Source

Structs§

ModuleTweak
PropertyTweak
Settings
Injectable global and module level overrides, todo: migrate the global statics to this over time

Enums§

ClassTweak
CompanionTweak
PropertyReadWrite

Constants§

ARG_OVERRIDE_SELF
CFG_ATTR_NOT_ON_WINDOWS
CFG_ATTR_ONLY_OPENCV_5

Statics§

ARGUMENT_NAMES_MULTIPLE_SLICE
List of C++ argument names that can hint on multiple connected slice arguments in a function
ARGUMENT_NAMES_NOT_SLICE
List of C++ argument names that are forbidden to be slice arguments
ARGUMENT_NAMES_USERDATA
List of C++ argument names that are allowed to be userdata for a callback
CONST_TYPE_OVERRIDE
DATA_TYPES
Types that can be used as Mat element cpp_name(Reference)
DATA_TYPES_5_0
Types that can be used as Mat element since OpenCV 5.0 cpp_name(Reference)
ELEMENT_EXCLUDE_KIND
cpp_name(Reference)
ELEMENT_EXPORT_TWEAK
Manual export config adjustments in the form of “cpp_name(Reference)” => tweak function. If the export config is not detected from the sources, an ExportConfig::default() is passed to the function.
IMPLEMENTED_CONST_GENERICS
cpp_name(Reference)
IMPLEMENTED_FUNCTION_LIKE_MACROS
IMPLEMENTED_GENERICS
cpp_name(Reference)
IMPLEMENTED_MANUAL_DEBUG
classes that have a manual Debug implementation, element is cpp_name(Reference)
IMPLEMENTED_SYSTEM_CLASSES
NO_SKIP_NAMESPACE_IN_LOCALNAME
PREVENT_VECTOR_TYPEDEF_GENERATION
PRIMITIVE_TYPEDEFS
cpp_name(Reference) => ( rust_name(Reference(No)), cpp_name(Reference) )
RESERVED_RENAME
map of reserved Rust keywords and their replacement to be used in var, function and class names key: reserved keyword value: replacement
STATIC_RUST_MODULES

Functions§

arg_override_factory
class_tweaks_factory
force_infallible_factory
func_cfg_attr_factory
identifier => (rust_attr, cpp_attr)
func_companion_tweak_factory
func_exclude_factory
func_inject_factory
func_rename_factory
map of functions to rename, key is Func.identifier(), value is new name (“+” will be replaced by the old name)
func_replace_factory
func_specialize_factory
func_unsafe_factory
set of functions that should have unsafe in their declaration, element is Func.identifier()
generator_module_tweaks_factory
property_override_factory
property_tweaks_factory
Rename property, format: (cpp_refname -> rust_custom_leafname)
return_override_factory

Type Aliases§

ArgOverride
ClassTweaks
ForceInfallible
FuncCfgAttr
FuncCompanionTweak
FuncExclude
FuncFactory
FuncInheritFactory
FuncInject
FuncRename
FuncReplace
FuncSpec
FuncSpecialize
FuncUnsafe
PropertyOverride
PropertyTweaks
ReturnOverride
TypeRefFactory