0.71.0 Regenerate bindings
MODIFY
Cargo.toml
Cargo.toml
@@ -6,7 +6,7 @@ repository = "https://github.com/twistedfall/opencv-rust"
readme = "README.md"
keywords = ["opencv", "vision"]
license = "MIT"
-version = "0.70.0"
+version = "0.71.0"
edition = "2018"
authors = ["Pro <twisted.fall@gmail.com>", "Mathieu Poumeyrol <kali@zoy.org>"]
autoexamples = false # not all examples compile on just any system
@@ -60,7 +60,7 @@ once_cell = "1"
rgb = { version = "0.8.20", features = ["argb"], optional = true }
[build-dependencies]
-binding-generator = { package = "opencv-binding-generator", version = "0.48.0", path = "binding-generator" }
+binding-generator = { package = "opencv-binding-generator", version = "0.49.0", path = "binding-generator" }
cc = { version = "1", features = ["parallel"] }
clang = { version = "2", features = ["clang_6_0", "runtime"] }
dunce = "1"

MODIFY
README.md
README.md
@@ -15,7 +15,7 @@ generation) are installed in your system.
Update your Cargo.toml
```toml
-opencv = "0.70"
+opencv = "0.71"
```
Import prelude

MODIFY
binding-generator/Cargo.toml
binding-generator/Cargo.toml
name = "opencv-binding-generator"
description = "Binding generator for opencv crate"
repository = "https://github.com/twistedfall/opencv-rust"
-version = "0.48.0"
+version = "0.49.0"
license = "MIT"
authors = ["Pro <twisted.fall@gmail.com>"]
edition = "2018"

MODIFY
src/opencv/hub/types.rs
src/opencv/hub/types.rs
@@ -174,8 +174,6 @@ mod barcode_types {
cv_VectorOfBarcodeType_clone,
}
- unsafe impl Send for core::Vector<crate::barcode::BarcodeType> {}
-
}
#[cfg(ocvrs_has_module_barcode)]
pub use barcode_types::*;
@@ -874,8 +872,6 @@ mod core_types {
cv_VectorOfDMatch_clone,
}
- unsafe impl Send for core::Vector<core::DMatch> {}
-
pub type VectorOfGpuMat = core::Vector<core::GpuMat>;
impl VectorOfGpuMat {
@@ -894,8 +890,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::GpuMat }
- unsafe impl Send for core::Vector<core::GpuMat> {}
-
pub type VectorOfKeyPoint = core::Vector<core::KeyPoint>;
impl VectorOfKeyPoint {
@@ -917,8 +911,6 @@ mod core_types {
cv_VectorOfKeyPoint_clone,
}
- unsafe impl Send for core::Vector<core::KeyPoint> {}
-
pub type VectorOfMat = core::Vector<core::Mat>;
impl VectorOfMat {
@@ -937,8 +929,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Mat }
- unsafe impl Send for core::Vector<core::Mat> {}
-
pub type VectorOfPlatformInfo = core::Vector<core::PlatformInfo>;
impl VectorOfPlatformInfo {
@@ -957,8 +947,6 @@ mod core_types {
}
vector_non_copy_or_bool! { core::PlatformInfo }
- unsafe impl Send for core::Vector<core::PlatformInfo> {}
-
pub type VectorOfPoint = core::Vector<core::Point>;
impl VectorOfPoint {
@@ -980,8 +968,6 @@ mod core_types {
cv_VectorOfPoint_clone,
}
- unsafe impl Send for core::Vector<core::Point> {}
-
impl core::ToInputArray for VectorOfPoint {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1041,8 +1027,6 @@ mod core_types {
cv_VectorOfPoint2d_clone,
}
- unsafe impl Send for core::Vector<core::Point2d> {}
-
impl core::ToInputArray for VectorOfPoint2d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1102,8 +1086,6 @@ mod core_types {
cv_VectorOfPoint2f_clone,
}
- unsafe impl Send for core::Vector<core::Point2f> {}
-
impl core::ToInputArray for VectorOfPoint2f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1163,8 +1145,6 @@ mod core_types {
cv_VectorOfPoint3d_clone,
}
- unsafe impl Send for core::Vector<core::Point3d> {}
-
impl core::ToInputArray for VectorOfPoint3d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1224,8 +1204,6 @@ mod core_types {
cv_VectorOfPoint3f_clone,
}
- unsafe impl Send for core::Vector<core::Point3f> {}
-
impl core::ToInputArray for VectorOfPoint3f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1285,8 +1263,6 @@ mod core_types {
cv_VectorOfPoint3i_clone,
}
- unsafe impl Send for core::Vector<core::Point3i> {}
-
impl core::ToInputArray for VectorOfPoint3i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1343,8 +1319,6 @@ mod core_types {
}
vector_non_copy_or_bool! { core::Range }
- unsafe impl Send for core::Vector<core::Range> {}
-
pub type VectorOfRect = core::Vector<core::Rect>;
impl VectorOfRect {
@@ -1366,8 +1340,6 @@ mod core_types {
cv_VectorOfRect_clone,
}
- unsafe impl Send for core::Vector<core::Rect> {}
-
impl core::ToInputArray for VectorOfRect {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1427,8 +1399,6 @@ mod core_types {
cv_VectorOfRect2d_clone,
}
- unsafe impl Send for core::Vector<core::Rect2d> {}
-
impl core::ToInputArray for VectorOfRect2d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1485,8 +1455,6 @@ mod core_types {
}
vector_non_copy_or_bool! { core::RotatedRect }
- unsafe impl Send for core::Vector<core::RotatedRect> {}
-
pub type VectorOfScalar = core::Vector<core::Scalar>;
impl VectorOfScalar {
@@ -1508,8 +1476,6 @@ mod core_types {
cv_VectorOfScalar_clone,
}
- unsafe impl Send for core::Vector<core::Scalar> {}
-
impl core::ToInputArray for VectorOfScalar {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1569,8 +1535,6 @@ mod core_types {
cv_VectorOfSize_clone,
}
- unsafe impl Send for core::Vector<core::Size> {}
-
impl core::ToInputArray for VectorOfSize {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1627,8 +1591,6 @@ mod core_types {
}
vector_non_copy_or_bool! { String }
- unsafe impl Send for core::Vector<String> {}
-
pub type VectorOfUMat = core::Vector<core::UMat>;
impl VectorOfUMat {
@@ -1647,8 +1609,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::UMat }
- unsafe impl Send for core::Vector<core::UMat> {}
-
pub type VectorOfVec2d = core::Vector<core::Vec2d>;
impl VectorOfVec2d {
@@ -1670,8 +1630,6 @@ mod core_types {
cv_VectorOfVec2d_clone,
}
- unsafe impl Send for core::Vector<core::Vec2d> {}
-
impl core::ToInputArray for VectorOfVec2d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1731,8 +1689,6 @@ mod core_types {
cv_VectorOfVec2f_clone,
}
- unsafe impl Send for core::Vector<core::Vec2f> {}
-
impl core::ToInputArray for VectorOfVec2f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1792,8 +1748,6 @@ mod core_types {
cv_VectorOfVec2i_clone,
}
- unsafe impl Send for core::Vector<core::Vec2i> {}
-
impl core::ToInputArray for VectorOfVec2i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1853,8 +1807,6 @@ mod core_types {
cv_VectorOfVec3d_clone,
}
- unsafe impl Send for core::Vector<core::Vec3d> {}
-
impl core::ToInputArray for VectorOfVec3d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1914,8 +1866,6 @@ mod core_types {
cv_VectorOfVec3f_clone,
}
- unsafe impl Send for core::Vector<core::Vec3f> {}
-
impl core::ToInputArray for VectorOfVec3f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -1975,8 +1925,6 @@ mod core_types {
cv_VectorOfVec3i_clone,
}
- unsafe impl Send for core::Vector<core::Vec3i> {}
-
impl core::ToInputArray for VectorOfVec3i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2036,8 +1984,6 @@ mod core_types {
cv_VectorOfVec4f_clone,
}
- unsafe impl Send for core::Vector<core::Vec4f> {}
-
impl core::ToInputArray for VectorOfVec4f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2097,8 +2043,6 @@ mod core_types {
cv_VectorOfVec4i_clone,
}
- unsafe impl Send for core::Vector<core::Vec4i> {}
-
impl core::ToInputArray for VectorOfVec4i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2158,8 +2102,6 @@ mod core_types {
cv_VectorOfVec6f_clone,
}
- unsafe impl Send for core::Vector<core::Vec6f> {}
-
impl core::ToInputArray for VectorOfVec6f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2216,8 +2158,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::DMatch> }
- unsafe impl Send for core::Vector<core::Vector<core::DMatch>> {}
-
pub type VectorOfVectorOfKeyPoint = core::Vector<core::Vector<core::KeyPoint>>;
impl VectorOfVectorOfKeyPoint {
@@ -2236,8 +2176,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::KeyPoint> }
- unsafe impl Send for core::Vector<core::Vector<core::KeyPoint>> {}
-
pub type VectorOfVectorOfMat = core::Vector<core::Vector<core::Mat>>;
impl VectorOfVectorOfMat {
@@ -2256,8 +2194,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Mat> }
- unsafe impl Send for core::Vector<core::Vector<core::Mat>> {}
-
pub type VectorOfVectorOfPoint = core::Vector<core::Vector<core::Point>>;
impl VectorOfVectorOfPoint {
@@ -2276,8 +2212,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Point> }
- unsafe impl Send for core::Vector<core::Vector<core::Point>> {}
-
impl core::ToInputArray for VectorOfVectorOfPoint {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2334,8 +2268,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Point2f> }
- unsafe impl Send for core::Vector<core::Vector<core::Point2f>> {}
-
impl core::ToInputArray for VectorOfVectorOfPoint2f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2392,8 +2324,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Point3d> }
- unsafe impl Send for core::Vector<core::Vector<core::Point3d>> {}
-
impl core::ToInputArray for VectorOfVectorOfPoint3d {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2450,8 +2380,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Point3f> }
- unsafe impl Send for core::Vector<core::Vector<core::Point3f>> {}
-
impl core::ToInputArray for VectorOfVectorOfPoint3f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2508,8 +2436,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Point3i> }
- unsafe impl Send for core::Vector<core::Vector<core::Point3i>> {}
-
impl core::ToInputArray for VectorOfVectorOfPoint3i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2566,8 +2492,6 @@ mod core_types {
}
vector_non_copy_or_bool! { core::Vector<core::Range> }
- unsafe impl Send for core::Vector<core::Vector<core::Range>> {}
-
pub type VectorOfVectorOfVec2i = core::Vector<core::Vector<core::Vec2i>>;
impl VectorOfVectorOfVec2i {
@@ -2586,8 +2510,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Vec2i> }
- unsafe impl Send for core::Vector<core::Vector<core::Vec2i>> {}
-
impl core::ToInputArray for VectorOfVectorOfVec2i {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2644,8 +2566,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<core::Vec3f> }
- unsafe impl Send for core::Vector<core::Vector<core::Vec3f>> {}
-
impl core::ToInputArray for VectorOfVectorOfVec3f {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2702,8 +2622,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<f32> }
- unsafe impl Send for core::Vector<core::Vector<f32>> {}
-
impl core::ToInputArray for VectorOfVectorOff32 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2760,8 +2678,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<f64> }
- unsafe impl Send for core::Vector<core::Vector<f64>> {}
-
impl core::ToInputArray for VectorOfVectorOff64 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2818,8 +2734,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<i32> }
- unsafe impl Send for core::Vector<core::Vector<i32>> {}
-
impl core::ToInputArray for VectorOfVectorOfi32 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2876,8 +2790,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<i8> }
- unsafe impl Send for core::Vector<core::Vector<i8>> {}
-
impl core::ToInputArray for VectorOfVectorOfi8 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2934,8 +2846,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone core::Vector<u8> }
- unsafe impl Send for core::Vector<core::Vector<u8>> {}
-
impl core::ToInputArray for VectorOfVectorOfu8 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -2992,8 +2902,6 @@ mod core_types {
}
vector_non_copy_or_bool! { clone bool }
- unsafe impl Send for core::Vector<bool> {}
-
pub type VectorOff32 = core::Vector<f32>;
impl VectorOff32 {
@@ -3015,8 +2923,6 @@ mod core_types {
cv_VectorOff32_clone,
}
- unsafe impl Send for core::Vector<f32> {}
-
impl core::ToInputArray for VectorOff32 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -3076,8 +2982,6 @@ mod core_types {
cv_VectorOff64_clone,
}
- unsafe impl Send for core::Vector<f64> {}
-
impl core::ToInputArray for VectorOff64 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -3137,8 +3041,6 @@ mod core_types {
cv_VectorOfi32_clone,
}
- unsafe impl Send for core::Vector<i32> {}
-
impl core::ToInputArray for VectorOfi32 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -3198,8 +3100,6 @@ mod core_types {
cv_VectorOfi8_clone,
}
- unsafe impl Send for core::Vector<i8> {}
-
impl core::ToInputArray for VectorOfi8 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -3259,8 +3159,6 @@ mod core_types {
cv_VectorOfsize_t_clone,
}
- unsafe impl Send for core::Vector<size_t> {}
-
pub type VectorOfu8 = core::Vector<u8>;
impl VectorOfu8 {
@@ -3282,8 +3180,6 @@ mod core_types {
cv_VectorOfu8_clone,
}
- unsafe impl Send for core::Vector<u8> {}
-
impl core::ToInputArray for VectorOfu8 {
#[inline]
fn input_array(&self) -> Result<core::_InputArray> {
@@ -8110,8 +8006,6 @@ mod dnn_types {
}
vector_non_copy_or_bool! { core::Ptr<crate::dnn::BackendNode> }
- unsafe impl Send for core::Vector<core::Ptr<crate::dnn::BackendNode>> {}
-
pub type VectorOfPtrOfBackendWrapper = core::Vector<core::Ptr<dyn crate::dnn::BackendWrapper>>;
impl VectorOfPtrOfBackendWrapper {
@@ -8130,8 +8024,6 @@ mod dnn_types {
}
vector_non_copy_or_bool! { core::Ptr<dyn crate::dnn::BackendWrapper> }
- unsafe impl Send for core::Vector<core::Ptr<dyn crate::dnn::BackendWrapper>> {}
-
pub type VectorOfPtrOfLayer = core::Vector<core::Ptr<crate::dnn::Layer>>;
impl VectorOfPtrOfLayer {
@@ -8150,8 +8042,6 @@ mod dnn_types {
}
vector_non_copy_or_bool! { core::Ptr<crate::dnn::Layer> }
- unsafe impl Send for core::Vector<core::Ptr<crate::dnn::Layer>> {}
-
pub type VectorOfTarget = core::Vector<crate::dnn::Target>;
impl VectorOfTarget {
@@ -8173,8 +8063,6 @@ mod dnn_types {
cv_VectorOfTarget_clone,
}
- unsafe impl Send for core::Vector<crate::dnn::Target> {}
-
pub type VectorOfVectorOfMatShape = core::Vector<core::Vector<crate::dnn::MatShape>>;
impl VectorOfVectorOfMatShape {
@@ -8193,8 +8081,6 @@ mod dnn_types {
}
vector_non_copy_or_bool! { core::Vector<crate::dnn::MatShape> }
- unsafe impl Send for core::Vector<core::Vector<crate::dnn::MatShape>> {}
-
}
#[cfg(ocvrs_has_module_dnn)]
pub use dnn_types::*;
@@ -8269,8 +8155,6 @@ mod dpm_types {
}
vector_non_copy_or_bool! { crate::dpm::DPMDetector_ObjectDetection }
- unsafe impl Send for core::Vector<crate::dpm::DPMDetector_ObjectDetection> {}
-
}
#[cfg(ocvrs_has_module_dpm)]
pub use dpm_types::*;
@@ -8672,8 +8556,6 @@ mod face_types {
}
vector_non_copy_or_bool! { crate::face::FacemarkAAM_Config }
- unsafe impl Send for core::Vector<crate::face::FacemarkAAM_Config> {}
-
pub type VectorOfFacemarkAAM_Model_Texture = core::Vector<crate::face::FacemarkAAM_Model_Texture>;
impl VectorOfFacemarkAAM_Model_Texture {
@@ -8692,8 +8574,6 @@ mod face_types {
}
vector_non_copy_or_bool! { crate::face::FacemarkAAM_Model_Texture }
- unsafe impl Send for core::Vector<crate::face::FacemarkAAM_Model_Texture> {}
-
}
#[cfg(ocvrs_has_module_face)]
pub use face_types::*;
@@ -9346,8 +9226,6 @@ mod flann_types {
cv_VectorOfFlannIndexType_clone,
}
- unsafe impl Send for core::Vector<crate::flann::FlannIndexType> {}
-
}
#[cfg(ocvrs_has_module_flann)]
pub use flann_types::*;
@@ -9923,8 +9801,6 @@ mod line_descriptor_types {
cv_VectorOfKeyLine_clone,
}
- unsafe impl Send for core::Vector<crate::line_descriptor::KeyLine> {}
-
pub type VectorOfVectorOfKeyLine = core::Vector<core::Vector<crate::line_descriptor::KeyLine>>;
impl VectorOfVectorOfKeyLine {
@@ -9943,8 +9819,6 @@ mod line_descriptor_types {
}
vector_non_copy_or_bool! { clone core::Vector<crate::line_descriptor::KeyLine> }
- unsafe impl Send for core::Vector<core::Vector<crate::line_descriptor::KeyLine>> {}
-
}
#[cfg(ocvrs_has_module_line_descriptor)]
pub use line_descriptor_types::*;
@@ -10057,8 +9931,6 @@ mod mcc_types {
}
vector_non_copy_or_bool! { core::Ptr<dyn crate::mcc::MCC_CChecker> }
- unsafe impl Send for core::Vector<core::Ptr<dyn crate::mcc::MCC_CChecker>> {}
-
}
#[cfg(ocvrs_has_module_mcc)]
pub use mcc_types::*;
@@ -10518,8 +10390,6 @@ mod ml_types {
}
vector_non_copy_or_bool! { crate::ml::DTrees_Node }
- unsafe impl Send for core::Vector<crate::ml::DTrees_Node> {}
-
pub type VectorOfDTrees_Split = core::Vector<crate::ml::DTrees_Split>;
impl VectorOfDTrees_Split {
@@ -10538,8 +10408,6 @@ mod ml_types {
}
vector_non_copy_or_bool! { crate::ml::DTrees_Split }
- unsafe impl Send for core::Vector<crate::ml::DTrees_Split> {}
-
}
#[cfg(ocvrs_has_module_ml)]
pub use ml_types::*;
@@ -10688,8 +10556,6 @@ mod objdetect_types {
}
vector_non_copy_or_bool! { crate::objdetect::DetectionBasedTracker_ExtObject }
- unsafe impl Send for core::Vector<crate::objdetect::DetectionBasedTracker_ExtObject> {}
-
pub type VectorOfDetectionROI = core::Vector<crate::objdetect::DetectionROI>;
impl VectorOfDetectionROI {
@@ -10708,8 +10574,6 @@ mod objdetect_types {
}
vector_non_copy_or_bool! { crate::objdetect::DetectionROI }
- unsafe impl Send for core::Vector<crate::objdetect::DetectionROI> {}
-
}
#[cfg(ocvrs_has_module_objdetect)]
pub use objdetect_types::*;
@@ -10933,8 +10797,6 @@ mod optflow_types {
}
vector_non_copy_or_bool! { crate::optflow::GPCPatchDescriptor }
- unsafe impl Send for core::Vector<crate::optflow::GPCPatchDescriptor> {}
-
}
#[cfg(ocvrs_has_module_optflow)]
pub use optflow_types::*;
@@ -12317,8 +12179,6 @@ mod rgbd_types {
cv_VectorOfLinemod_Feature_clone,
}
- unsafe impl Send for core::Vector<crate::rgbd::Linemod_Feature> {}
-
pub type VectorOfLinemod_Match = core::Vector<crate::rgbd::Linemod_Match>;
impl VectorOfLinemod_Match {
@@ -12337,8 +12197,6 @@ mod rgbd_types {
}
vector_non_copy_or_bool! { crate::rgbd::Linemod_Match }
- unsafe impl Send for core::Vector<crate::rgbd::Linemod_Match> {}
-
pub type VectorOfLinemod_Template = core::Vector<crate::rgbd::Linemod_Template>;
impl VectorOfLinemod_Template {
@@ -12357,8 +12215,6 @@ mod rgbd_types {
}
vector_non_copy_or_bool! { crate::rgbd::Linemod_Template }
- unsafe impl Send for core::Vector<crate::rgbd::Linemod_Template> {}
-
pub type VectorOfPtrOfLinemod_Modality = core::Vector<core::Ptr<dyn crate::rgbd::Linemod_Modality>>;
impl VectorOfPtrOfLinemod_Modality {
@@ -12377,8 +12233,6 @@ mod rgbd_types {
}
vector_non_copy_or_bool! { core::Ptr<dyn crate::rgbd::Linemod_Modality> }
- unsafe impl Send for core::Vector<core::Ptr<dyn crate::rgbd::Linemod_Modality>> {}
-
}
#[cfg(ocvrs_has_module_rgbd)]
pub use rgbd_types::*;
@@ -13016,8 +12870,6 @@ mod stereo_types {
cv_VectorOfMatchQuasiDense_clone,
}
- unsafe impl Send for core::Vector<crate::stereo::MatchQuasiDense> {}
-
}
#[cfg(ocvrs_has_module_stereo)]
pub use stereo_types::*;
@@ -14384,8 +14236,6 @@ mod stitching_types {
}
vector_non_copy_or_bool! { crate::stitching::Detail_CameraParams }
- unsafe impl Send for core::Vector<crate::stitching::Detail_CameraParams> {}
-
pub type VectorOfDetail_ImageFeatures = core::Vector<crate::stitching::Detail_ImageFeatures>;
impl VectorOfDetail_ImageFeatures {
@@ -14404,8 +14254,6 @@ mod stitching_types {
}
vector_non_copy_or_bool! { crate::stitching::Detail_ImageFeatures }
- unsafe impl Send for core::Vector<crate::stitching::Detail_ImageFeatures> {}
-
pub type VectorOfDetail_MatchesInfo = core::Vector<crate::stitching::Detail_MatchesInfo>;
impl VectorOfDetail_MatchesInfo {
@@ -14424,8 +14272,6 @@ mod stitching_types {
}
vector_non_copy_or_bool! { crate::stitching::Detail_MatchesInfo }
- unsafe impl Send for core::Vector<crate::stitching::Detail_MatchesInfo> {}
-
}
#[cfg(ocvrs_has_module_stitching)]
pub use stitching_types::*;
@@ -14822,8 +14668,6 @@ mod surface_matching_types {
}
vector_non_copy_or_bool! { crate::surface_matching::Pose3DPtr }
- unsafe impl Send for core::Vector<crate::surface_matching::Pose3DPtr> {}
-
}
#[cfg(ocvrs_has_module_surface_matching)]
pub use surface_matching_types::*;
@@ -15077,8 +14921,6 @@ mod text_types {
}
vector_non_copy_or_bool! { crate::text::ERStat }
- unsafe impl Send for core::Vector<crate::text::ERStat> {}
-
pub type VectorOfVectorOfERStat = core::Vector<core::Vector<crate::text::ERStat>>;
impl VectorOfVectorOfERStat {
@@ -15097,8 +14939,6 @@ mod text_types {
}
vector_non_copy_or_bool! { core::Vector<crate::text::ERStat> }
- unsafe impl Send for core::Vector<core::Vector<crate::text::ERStat>> {}
-
}
#[cfg(ocvrs_has_module_text)]
pub use text_types::*;
@@ -15540,8 +15380,6 @@ mod videoio_types {
}
vector_non_copy_or_bool! { crate::videoio::VideoCapture }
- unsafe impl Send for core::Vector<crate::videoio::VideoCapture> {}
-
pub type VectorOfVideoCaptureAPIs = core::Vector<crate::videoio::VideoCaptureAPIs>;
impl VectorOfVideoCaptureAPIs {
@@ -15563,8 +15401,6 @@ mod videoio_types {
cv_VectorOfVideoCaptureAPIs_clone,
}
- unsafe impl Send for core::Vector<crate::videoio::VideoCaptureAPIs> {}
-
}
#[cfg(ocvrs_has_module_videoio)]
pub use videoio_types::*;
@@ -17557,8 +17393,6 @@ mod xfeatures2d_types {
}
vector_non_copy_or_bool! { crate::xfeatures2d::Elliptic_KeyPoint }
- unsafe impl Send for core::Vector<crate::xfeatures2d::Elliptic_KeyPoint> {}
-
}
#[cfg(ocvrs_has_module_xfeatures2d)]
pub use xfeatures2d_types::*;

MODIFY
src/opencv/hub/videoio.rs
src/opencv/hub/videoio.rs
@@ -1953,7 +1953,7 @@ impl VideoWriter {
#[inline]
pub fn fourcc(c1: char, c2: char, c3: char, c4: char) -> Result<i32> {
return_send!(via ocvrs_return);
- unsafe { sys::cv_VideoWriter_fourcc_char_char_char_char(u8::try_from(c1)? as i8, u8::try_from(c2)? as i8, u8::try_from(c3)? as i8, u8::try_from(c4)? as i8, ocvrs_return.as_mut_ptr()) };
+ unsafe { sys::cv_VideoWriter_fourcc_char_char_char_char(u8::try_from(c1)? as c_char, u8::try_from(c2)? as c_char, u8::try_from(c3)? as c_char, u8::try_from(c4)? as c_char, ocvrs_return.as_mut_ptr()) };
return_receive!(unsafe ocvrs_return => ret);
let ret = ret.into_result()?;
Ok(ret)

0.71.0 Regenerate bindings