Trait opencv::hub_prelude::GCompileArgTraitConst
source · pub trait GCompileArgTraitConst {
fn as_raw_GCompileArg(&self) -> *const c_void;
fn tag(&self) -> String { ... }
}
Expand description
Represents an arbitrary compilation argument.
Any value can be wrapped into cv::GCompileArg, but only known ones (to G-API or its backends) can be interpreted correctly.
Normally objects of this class shouldn’t be created manually, use cv::compile_args() function which automatically wraps everything passed in (a variadic template parameter pack) into a vector of cv::GCompileArg objects.