pub struct GCompileArg { /* private fields */ }
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.
Return an the underlying raw pointer while consuming this wrapper.
Read more
Return the underlying mutable raw pointer
Read more
Forwards to infallible Self::default()
Executes the destructor for this type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.