pub struct Vector<T: VectorElement>where
Self: VectorExtern<T>,{ /* private fields */ }
Expand description
Wrapper for C++ std::vector
Implementations
sourceimpl<T: VectorElement> Vector<T>where
Self: VectorExtern<T>,
impl<T: VectorElement> Vector<T>where
Self: VectorExtern<T>,
sourcepub fn with_capacity(capacity: size_t) -> Self
pub fn with_capacity(capacity: size_t) -> Self
Create a Vector with pre-defined capacity
sourcepub fn from_iter<'a>(
s: impl IntoIterator<Item = <T as OpenCVType<'a>>::Arg>
) -> Self
pub fn from_iter<'a>(
s: impl IntoIterator<Item = <T as OpenCVType<'a>>::Arg>
) -> Self
Create a Vector from iterator
sourcepub fn from_slice(s: &[T]) -> Selfwhere
Self: VectorExternCopyNonBool<T>,
pub fn from_slice(s: &[T]) -> Selfwhere
Self: VectorExternCopyNonBool<T>,
Create a Vector from slice, the element type needs to be Copy (and not bool)
pub fn from_elem<'a>(elem: <T as OpenCVType<'a>>::Arg, n: size_t) -> Selfwhere
<T as OpenCVType<'a>>::Arg: Clone,
sourcepub fn shrink_to_fit(&mut self)
pub fn shrink_to_fit(&mut self)
Free extra capacity
sourcepub fn remove(&mut self, index: size_t) -> Result<()>
pub fn remove(&mut self, index: size_t) -> Result<()>
Remove the element at the specified index
sourcepub fn swap(&mut self, index1: size_t, index2: size_t) -> Result<()>
pub fn swap(&mut self, index1: size_t, index2: size_t) -> Result<()>
Swap 2 elements in the Vector
sourcepub fn insert(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
) -> Result<()>
pub fn insert(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
) -> Result<()>
Insert a new element at the specified index
sourcepub fn set(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
) -> Result<()>
pub fn set(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
) -> Result<()>
Set element at the specified index
sourcepub unsafe fn set_unchecked(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
)
pub unsafe fn set_unchecked(
&mut self,
index: size_t,
val: <T as OpenCVType<'_>>::Arg
)
Same as set()
but without bounds checking
Safety
Caller must ensure that the specified index
is within the Vector
bounds
sourcepub unsafe fn get_unchecked(&self, index: size_t) -> T
pub unsafe fn get_unchecked(&self, index: size_t) -> T
Same as get()
but without bounds checking
Safety
Caller must ensure that the specified index
is within the Vector
bounds
pub fn iter(&self) -> VectorRefIterator<'_, T>ⓘNotable traits for VectorRefIterator<'_, T>impl<T: VectorElement> Iterator for VectorRefIterator<'_, T>where
Vector<T>: VectorExtern<T>, type Item = T;
Vector<T>: VectorExtern<T>, type Item = T;
sourcepub fn as_slice(&self) -> &[T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
where
Self: VectorExternCopyNonBool<T>,
pub fn as_slice(&self) -> &[T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
where
Self: VectorExternCopyNonBool<T>,
Return slice to the elements of the array.
This method is only available for OpenCV types that are Copy, with the exception of bool because bool is handled in a special way on the C++ side.
sourcepub fn as_mut_slice(&mut self) -> &mut [T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
where
Self: VectorExternCopyNonBool<T>,
pub fn as_mut_slice(&mut self) -> &mut [T]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
where
Self: VectorExternCopyNonBool<T>,
Return mutable slice to the elements of the array.
This method is only available for OpenCV types that are Copy, with the exception of bool because bool is handled in a special way on the C++ side.
pub fn to_vec(&self) -> Vec<T>
sourceimpl Vector<BarcodeType>
impl Vector<BarcodeType>
pub fn as_raw_VectorOfBarcodeType(&self) -> *const c_void
pub fn as_raw_mut_VectorOfBarcodeType(&mut self) -> *mut c_void
sourceimpl Vector<DMatch>
impl Vector<DMatch>
pub fn as_raw_VectorOfDMatch(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDMatch(&mut self) -> *mut c_void
sourceimpl Vector<GpuMat>
impl Vector<GpuMat>
pub fn as_raw_VectorOfGpuMat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGpuMat(&mut self) -> *mut c_void
sourceimpl Vector<KeyPoint>
impl Vector<KeyPoint>
pub fn as_raw_VectorOfKeyPoint(&self) -> *const c_void
pub fn as_raw_mut_VectorOfKeyPoint(&mut self) -> *mut c_void
sourceimpl Vector<Mat>
impl Vector<Mat>
pub fn as_raw_VectorOfMat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfMat(&mut self) -> *mut c_void
sourceimpl Vector<PlatformInfo>
impl Vector<PlatformInfo>
pub fn as_raw_VectorOfPlatformInfo(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPlatformInfo(&mut self) -> *mut c_void
sourceimpl Vector<Point_<i32>>
impl Vector<Point_<i32>>
pub fn as_raw_VectorOfPoint(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint(&mut self) -> *mut c_void
sourceimpl Vector<Point_<f64>>
impl Vector<Point_<f64>>
pub fn as_raw_VectorOfPoint2d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint2d(&mut self) -> *mut c_void
sourceimpl Vector<Point_<f32>>
impl Vector<Point_<f32>>
pub fn as_raw_VectorOfPoint2f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint2f(&mut self) -> *mut c_void
sourceimpl Vector<Point3_<f64>>
impl Vector<Point3_<f64>>
pub fn as_raw_VectorOfPoint3d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint3d(&mut self) -> *mut c_void
sourceimpl Vector<Point3_<f32>>
impl Vector<Point3_<f32>>
pub fn as_raw_VectorOfPoint3f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint3f(&mut self) -> *mut c_void
sourceimpl Vector<Point3_<i32>>
impl Vector<Point3_<i32>>
pub fn as_raw_VectorOfPoint3i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPoint3i(&mut self) -> *mut c_void
sourceimpl Vector<Range>
impl Vector<Range>
pub fn as_raw_VectorOfRange(&self) -> *const c_void
pub fn as_raw_mut_VectorOfRange(&mut self) -> *mut c_void
sourceimpl Vector<Rect_<i32>>
impl Vector<Rect_<i32>>
pub fn as_raw_VectorOfRect(&self) -> *const c_void
pub fn as_raw_mut_VectorOfRect(&mut self) -> *mut c_void
sourceimpl Vector<Rect_<f64>>
impl Vector<Rect_<f64>>
pub fn as_raw_VectorOfRect2d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfRect2d(&mut self) -> *mut c_void
sourceimpl Vector<RotatedRect>
impl Vector<RotatedRect>
pub fn as_raw_VectorOfRotatedRect(&self) -> *const c_void
pub fn as_raw_mut_VectorOfRotatedRect(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f64, 4>>
impl Vector<VecN<f64, 4>>
pub fn as_raw_VectorOfScalar(&self) -> *const c_void
pub fn as_raw_mut_VectorOfScalar(&mut self) -> *mut c_void
sourceimpl Vector<Size_<i32>>
impl Vector<Size_<i32>>
pub fn as_raw_VectorOfSize(&self) -> *const c_void
pub fn as_raw_mut_VectorOfSize(&mut self) -> *mut c_void
sourceimpl Vector<String>
impl Vector<String>
pub fn as_raw_VectorOfString(&self) -> *const c_void
pub fn as_raw_mut_VectorOfString(&mut self) -> *mut c_void
sourceimpl Vector<Tuple<(Point_<i32>, Point_<i32>)>>
impl Vector<Tuple<(Point_<i32>, Point_<i32>)>>
pub fn as_raw_VectorOfTupleOfPoint2i_Point2i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfTupleOfPoint2i_Point2i(&mut self) -> *mut c_void
sourceimpl Vector<Tuple<(UMat, u8)>>
impl Vector<Tuple<(UMat, u8)>>
pub fn as_raw_VectorOfTupleOfUMat_u8(&self) -> *const c_void
pub fn as_raw_mut_VectorOfTupleOfUMat_u8(&mut self) -> *mut c_void
sourceimpl Vector<Tuple<(i32, f64)>>
impl Vector<Tuple<(i32, f64)>>
pub fn as_raw_VectorOfTupleOfi32_f64(&self) -> *const c_void
pub fn as_raw_mut_VectorOfTupleOfi32_f64(&mut self) -> *mut c_void
sourceimpl Vector<UMat>
impl Vector<UMat>
pub fn as_raw_VectorOfUMat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfUMat(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f64, 2>>
impl Vector<VecN<f64, 2>>
pub fn as_raw_VectorOfVec2d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec2d(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f32, 2>>
impl Vector<VecN<f32, 2>>
pub fn as_raw_VectorOfVec2f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec2f(&mut self) -> *mut c_void
sourceimpl Vector<VecN<i32, 2>>
impl Vector<VecN<i32, 2>>
pub fn as_raw_VectorOfVec2i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec2i(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f64, 3>>
impl Vector<VecN<f64, 3>>
pub fn as_raw_VectorOfVec3d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec3d(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f32, 3>>
impl Vector<VecN<f32, 3>>
pub fn as_raw_VectorOfVec3f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec3f(&mut self) -> *mut c_void
sourceimpl Vector<VecN<i32, 3>>
impl Vector<VecN<i32, 3>>
pub fn as_raw_VectorOfVec3i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec3i(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f32, 4>>
impl Vector<VecN<f32, 4>>
pub fn as_raw_VectorOfVec4f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec4f(&mut self) -> *mut c_void
sourceimpl Vector<VecN<i32, 4>>
impl Vector<VecN<i32, 4>>
pub fn as_raw_VectorOfVec4i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec4i(&mut self) -> *mut c_void
sourceimpl Vector<VecN<f32, 6>>
impl Vector<VecN<f32, 6>>
pub fn as_raw_VectorOfVec6f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVec6f(&mut self) -> *mut c_void
sourceimpl Vector<Vector<DMatch>>
impl Vector<Vector<DMatch>>
pub fn as_raw_VectorOfVectorOfDMatch(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfDMatch(&mut self) -> *mut c_void
sourceimpl Vector<Vector<KeyPoint>>
impl Vector<Vector<KeyPoint>>
pub fn as_raw_VectorOfVectorOfKeyPoint(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfKeyPoint(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Mat>>
impl Vector<Vector<Mat>>
pub fn as_raw_VectorOfVectorOfMat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfMat(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Point_<i32>>>
impl Vector<Vector<Point_<i32>>>
pub fn as_raw_VectorOfVectorOfPoint(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfPoint(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Point_<f32>>>
impl Vector<Vector<Point_<f32>>>
pub fn as_raw_VectorOfVectorOfPoint2f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfPoint2f(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Point3_<f64>>>
impl Vector<Vector<Point3_<f64>>>
pub fn as_raw_VectorOfVectorOfPoint3d(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfPoint3d(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Point3_<f32>>>
impl Vector<Vector<Point3_<f32>>>
pub fn as_raw_VectorOfVectorOfPoint3f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfPoint3f(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Point3_<i32>>>
impl Vector<Vector<Point3_<i32>>>
pub fn as_raw_VectorOfVectorOfPoint3i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfPoint3i(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Range>>
impl Vector<Vector<Range>>
pub fn as_raw_VectorOfVectorOfRange(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfRange(&mut self) -> *mut c_void
sourceimpl Vector<Vector<VecN<i32, 2>>>
impl Vector<Vector<VecN<i32, 2>>>
pub fn as_raw_VectorOfVectorOfVec2i(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfVec2i(&mut self) -> *mut c_void
sourceimpl Vector<Vector<VecN<f32, 3>>>
impl Vector<Vector<VecN<f32, 3>>>
pub fn as_raw_VectorOfVectorOfVec3f(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfVec3f(&mut self) -> *mut c_void
sourceimpl Vector<Vector<f32>>
impl Vector<Vector<f32>>
pub fn as_raw_VectorOfVectorOff32(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOff32(&mut self) -> *mut c_void
sourceimpl Vector<Vector<f64>>
impl Vector<Vector<f64>>
pub fn as_raw_VectorOfVectorOff64(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOff64(&mut self) -> *mut c_void
sourceimpl Vector<Vector<i32>>
impl Vector<Vector<i32>>
pub fn as_raw_VectorOfVectorOfi32(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfi32(&mut self) -> *mut c_void
sourceimpl Vector<Vector<i8>>
impl Vector<Vector<i8>>
pub fn as_raw_VectorOfVectorOfi8(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfi8(&mut self) -> *mut c_void
sourceimpl Vector<Vector<u8>>
impl Vector<Vector<u8>>
pub fn as_raw_VectorOfVectorOfu8(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfu8(&mut self) -> *mut c_void
sourceimpl Vector<bool>
impl Vector<bool>
pub fn as_raw_VectorOfbool(&self) -> *const c_void
pub fn as_raw_mut_VectorOfbool(&mut self) -> *mut c_void
sourceimpl Vector<f32>
impl Vector<f32>
pub fn as_raw_VectorOff32(&self) -> *const c_void
pub fn as_raw_mut_VectorOff32(&mut self) -> *mut c_void
sourceimpl Vector<f64>
impl Vector<f64>
pub fn as_raw_VectorOff64(&self) -> *const c_void
pub fn as_raw_mut_VectorOff64(&mut self) -> *mut c_void
sourceimpl Vector<i32>
impl Vector<i32>
pub fn as_raw_VectorOfi32(&self) -> *const c_void
pub fn as_raw_mut_VectorOfi32(&mut self) -> *mut c_void
sourceimpl Vector<i8>
impl Vector<i8>
pub fn as_raw_VectorOfi8(&self) -> *const c_void
pub fn as_raw_mut_VectorOfi8(&mut self) -> *mut c_void
sourceimpl Vector<usize>
impl Vector<usize>
pub fn as_raw_VectorOfsize_t(&self) -> *const c_void
pub fn as_raw_mut_VectorOfsize_t(&mut self) -> *mut c_void
sourceimpl Vector<u8>
impl Vector<u8>
pub fn as_raw_VectorOfu8(&self) -> *const c_void
pub fn as_raw_mut_VectorOfu8(&mut self) -> *mut c_void
sourceimpl Vector<Vector<i32>>
impl Vector<Vector<i32>>
pub fn as_raw_VectorOfMatShape(&self) -> *const c_void
pub fn as_raw_mut_VectorOfMatShape(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<BackendNode>>
impl Vector<Ptr<BackendNode>>
pub fn as_raw_VectorOfPtrOfBackendNode(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPtrOfBackendNode(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<dyn BackendWrapper + 'static>>
impl Vector<Ptr<dyn BackendWrapper + 'static>>
pub fn as_raw_VectorOfPtrOfBackendWrapper(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPtrOfBackendWrapper(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<Layer>>
impl Vector<Ptr<Layer>>
pub fn as_raw_VectorOfPtrOfLayer(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPtrOfLayer(&mut self) -> *mut c_void
sourceimpl Vector<Target>
impl Vector<Target>
pub fn as_raw_VectorOfTarget(&self) -> *const c_void
pub fn as_raw_mut_VectorOfTarget(&mut self) -> *mut c_void
sourceimpl Vector<Tuple<(Backend, Target)>>
impl Vector<Tuple<(Backend, Target)>>
pub fn as_raw_VectorOfTupleOfBackend_Target(&self) -> *const c_void
pub fn as_raw_mut_VectorOfTupleOfBackend_Target(&mut self) -> *mut c_void
sourceimpl Vector<Vector<Vector<i32>>>
impl Vector<Vector<Vector<i32>>>
pub fn as_raw_VectorOfVectorOfMatShape(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfMatShape(&mut self) -> *mut c_void
sourceimpl Vector<DPMDetector_ObjectDetection>
impl Vector<DPMDetector_ObjectDetection>
pub fn as_raw_VectorOfDPMDetector_ObjectDetection(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDPMDetector_ObjectDetection(&mut self) -> *mut c_void
sourceimpl Vector<FacemarkAAM_Config>
impl Vector<FacemarkAAM_Config>
pub fn as_raw_VectorOfFacemarkAAM_Config(&self) -> *const c_void
pub fn as_raw_mut_VectorOfFacemarkAAM_Config(&mut self) -> *mut c_void
sourceimpl Vector<FacemarkAAM_Model_Texture>
impl Vector<FacemarkAAM_Model_Texture>
pub fn as_raw_VectorOfFacemarkAAM_Model_Texture(&self) -> *const c_void
pub fn as_raw_mut_VectorOfFacemarkAAM_Model_Texture(&mut self) -> *mut c_void
sourceimpl Vector<FlannIndexType>
impl Vector<FlannIndexType>
pub fn as_raw_VectorOfFlannIndexType(&self) -> *const c_void
pub fn as_raw_mut_VectorOfFlannIndexType(&mut self) -> *mut c_void
sourceimpl Vector<GArg>
impl Vector<GArg>
pub fn as_raw_VectorOfGArg(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGArg(&mut self) -> *mut c_void
sourceimpl Vector<GBackend>
impl Vector<GBackend>
pub fn as_raw_VectorOfGBackend(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGBackend(&mut self) -> *mut c_void
sourceimpl Vector<GCompileArg>
impl Vector<GCompileArg>
pub fn as_raw_VectorOfGCompileArg(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGCompileArg(&mut self) -> *mut c_void
sourceimpl Vector<GMat>
impl Vector<GMat>
pub fn as_raw_VectorOfGMat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGMat(&mut self) -> *mut c_void
sourceimpl Vector<GRunArg>
impl Vector<GRunArg>
pub fn as_raw_VectorOfGRunArg(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGRunArg(&mut self) -> *mut c_void
sourceimpl Vector<GShape>
impl Vector<GShape>
pub fn as_raw_VectorOfGShape(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGShape(&mut self) -> *mut c_void
sourceimpl Vector<GTransform>
impl Vector<GTransform>
pub fn as_raw_VectorOfGTransform(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGTransform(&mut self) -> *mut c_void
sourceimpl Vector<OpaqueKind>
impl Vector<OpaqueKind>
pub fn as_raw_VectorOfOpaqueKind(&self) -> *const c_void
pub fn as_raw_mut_VectorOfOpaqueKind(&mut self) -> *mut c_void
sourceimpl Vector<KeyLine>
impl Vector<KeyLine>
pub fn as_raw_VectorOfKeyLine(&self) -> *const c_void
pub fn as_raw_mut_VectorOfKeyLine(&mut self) -> *mut c_void
sourceimpl Vector<Vector<KeyLine>>
impl Vector<Vector<KeyLine>>
pub fn as_raw_VectorOfVectorOfKeyLine(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfKeyLine(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<dyn MCC_CChecker + 'static>>
impl Vector<Ptr<dyn MCC_CChecker + 'static>>
pub fn as_raw_VectorOfPtrOfMCC_CChecker(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPtrOfMCC_CChecker(&mut self) -> *mut c_void
sourceimpl Vector<DTrees_Node>
impl Vector<DTrees_Node>
pub fn as_raw_VectorOfDTrees_Node(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDTrees_Node(&mut self) -> *mut c_void
sourceimpl Vector<DTrees_Split>
impl Vector<DTrees_Split>
pub fn as_raw_VectorOfDTrees_Split(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDTrees_Split(&mut self) -> *mut c_void
sourceimpl Vector<DetectionBasedTracker_ExtObject>
impl Vector<DetectionBasedTracker_ExtObject>
pub fn as_raw_VectorOfDetectionBasedTracker_ExtObject(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetectionBasedTracker_ExtObject(
&mut self
) -> *mut c_void
sourceimpl Vector<Tuple<(Rect_<i32>, i32)>>
impl Vector<Tuple<(Rect_<i32>, i32)>>
pub fn as_raw_VectorOfDetectionBasedTracker_Object(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetectionBasedTracker_Object(&mut self) -> *mut c_void
sourceimpl Vector<DetectionROI>
impl Vector<DetectionROI>
pub fn as_raw_VectorOfDetectionROI(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetectionROI(&mut self) -> *mut c_void
sourceimpl Vector<GPCPatchDescriptor>
impl Vector<GPCPatchDescriptor>
pub fn as_raw_VectorOfGPCPatchDescriptor(&self) -> *const c_void
pub fn as_raw_mut_VectorOfGPCPatchDescriptor(&mut self) -> *mut c_void
sourceimpl Vector<Linemod_Feature>
impl Vector<Linemod_Feature>
pub fn as_raw_VectorOfLinemod_Feature(&self) -> *const c_void
pub fn as_raw_mut_VectorOfLinemod_Feature(&mut self) -> *mut c_void
sourceimpl Vector<Linemod_Match>
impl Vector<Linemod_Match>
pub fn as_raw_VectorOfLinemod_Match(&self) -> *const c_void
pub fn as_raw_mut_VectorOfLinemod_Match(&mut self) -> *mut c_void
sourceimpl Vector<Linemod_Template>
impl Vector<Linemod_Template>
pub fn as_raw_VectorOfLinemod_Template(&self) -> *const c_void
pub fn as_raw_mut_VectorOfLinemod_Template(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<dyn Linemod_Modality + 'static>>
impl Vector<Ptr<dyn Linemod_Modality + 'static>>
pub fn as_raw_VectorOfPtrOfLinemod_Modality(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPtrOfLinemod_Modality(&mut self) -> *mut c_void
sourceimpl Vector<MatchQuasiDense>
impl Vector<MatchQuasiDense>
pub fn as_raw_VectorOfMatchQuasiDense(&self) -> *const c_void
pub fn as_raw_mut_VectorOfMatchQuasiDense(&mut self) -> *mut c_void
sourceimpl Vector<Detail_CameraParams>
impl Vector<Detail_CameraParams>
pub fn as_raw_VectorOfDetail_CameraParams(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetail_CameraParams(&mut self) -> *mut c_void
sourceimpl Vector<Detail_ImageFeatures>
impl Vector<Detail_ImageFeatures>
pub fn as_raw_VectorOfDetail_ImageFeatures(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetail_ImageFeatures(&mut self) -> *mut c_void
sourceimpl Vector<Detail_MatchesInfo>
impl Vector<Detail_MatchesInfo>
pub fn as_raw_VectorOfDetail_MatchesInfo(&self) -> *const c_void
pub fn as_raw_mut_VectorOfDetail_MatchesInfo(&mut self) -> *mut c_void
sourceimpl Vector<Ptr<Pose3D>>
impl Vector<Ptr<Pose3D>>
pub fn as_raw_VectorOfPose3DPtr(&self) -> *const c_void
pub fn as_raw_mut_VectorOfPose3DPtr(&mut self) -> *mut c_void
sourceimpl Vector<ERStat>
impl Vector<ERStat>
pub fn as_raw_VectorOfERStat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfERStat(&mut self) -> *mut c_void
sourceimpl Vector<Vector<ERStat>>
impl Vector<Vector<ERStat>>
pub fn as_raw_VectorOfVectorOfERStat(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVectorOfERStat(&mut self) -> *mut c_void
sourceimpl Vector<VideoCapture>
impl Vector<VideoCapture>
pub fn as_raw_VectorOfVideoCapture(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVideoCapture(&mut self) -> *mut c_void
sourceimpl Vector<VideoCaptureAPIs>
impl Vector<VideoCaptureAPIs>
pub fn as_raw_VectorOfVideoCaptureAPIs(&self) -> *const c_void
pub fn as_raw_mut_VectorOfVideoCaptureAPIs(&mut self) -> *mut c_void
sourceimpl Vector<Elliptic_KeyPoint>
impl Vector<Elliptic_KeyPoint>
pub fn as_raw_VectorOfElliptic_KeyPoint(&self) -> *const c_void
pub fn as_raw_mut_VectorOfElliptic_KeyPoint(&mut self) -> *mut c_void
Trait Implementations
sourceimpl<T: VectorElement> AsRef<[T]> for Vector<T>where
Self: VectorExtern<T> + VectorExternCopyNonBool<T>,
impl<T: VectorElement> AsRef<[T]> for Vector<T>where
Self: VectorExtern<T> + VectorExternCopyNonBool<T>,
sourceimpl<T: VectorElement> Borrow<[T]> for Vector<T>where
Self: VectorExtern<T> + VectorExternCopyNonBool<T>,
impl<T: VectorElement> Borrow<[T]> for Vector<T>where
Self: VectorExtern<T> + VectorExternCopyNonBool<T>,
sourceimpl<T: VectorElement> Boxed for Vector<T>where
Self: VectorExtern<T>,
impl<T: VectorElement> Boxed for Vector<T>where
Self: VectorExtern<T>,
sourceimpl Clone for Vector<BarcodeType>where
Self: VectorExtern<BarcodeType>,
impl Clone for Vector<BarcodeType>where
Self: VectorExtern<BarcodeType>,
sourceimpl Clone for Vector<FlannIndexType>where
Self: VectorExtern<FlannIndexType>,
impl Clone for Vector<FlannIndexType>where
Self: VectorExtern<FlannIndexType>,
sourceimpl Clone for Vector<Linemod_Feature>where
Self: VectorExtern<Linemod_Feature>,
impl Clone for Vector<Linemod_Feature>where
Self: VectorExtern<Linemod_Feature>,
sourceimpl Clone for Vector<MatchQuasiDense>where
Self: VectorExtern<MatchQuasiDense>,
impl Clone for Vector<MatchQuasiDense>where
Self: VectorExtern<MatchQuasiDense>,
sourceimpl Clone for Vector<OpaqueKind>where
Self: VectorExtern<OpaqueKind>,
impl Clone for Vector<OpaqueKind>where
Self: VectorExtern<OpaqueKind>,
sourceimpl Clone for Vector<VideoCaptureAPIs>where
Self: VectorExtern<VideoCaptureAPIs>,
impl Clone for Vector<VideoCaptureAPIs>where
Self: VectorExtern<VideoCaptureAPIs>,
sourceimpl<T: VectorElement + Debug> Debug for Vector<T>where
Self: VectorExtern<T>,
impl<T: VectorElement + Debug> Debug for Vector<T>where
Self: VectorExtern<T>,
sourceimpl<T: VectorElement> Default for Vector<T>where
Self: VectorExtern<T>,
impl<T: VectorElement> Default for Vector<T>where
Self: VectorExtern<T>,
sourceimpl<T: VectorElement> Drop for Vector<T>where
Self: VectorExtern<T>,
impl<T: VectorElement> Drop for Vector<T>where
Self: VectorExtern<T>,
sourceimpl<'a, T: VectorElement> Extend<<T as OpenCVType<'a>>::Arg> for Vector<T>where
Self: VectorExtern<T>,
impl<'a, T: VectorElement> Extend<<T as OpenCVType<'a>>::Arg> for Vector<T>where
Self: VectorExtern<T>,
sourcefn extend<I: IntoIterator<Item = <T as OpenCVType<'a>>::Arg>>(&mut self, s: I)
fn extend<I: IntoIterator<Item = <T as OpenCVType<'a>>::Arg>>(&mut self, s: I)
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)sourceimpl<T: VectorElement> From<Vec<<T as OpenCVType<'_>>::Arg, Global>> for Vector<T>where
Vector<T>: VectorExtern<T>,
impl<T: VectorElement> From<Vec<<T as OpenCVType<'_>>::Arg, Global>> for Vector<T>where
Vector<T>: VectorExtern<T>,
sourceimpl<'a, T: VectorElement> FromIterator<<T as OpenCVType<'a>>::Arg> for Vector<T>where
Self: VectorExtern<T>,
impl<'a, T: VectorElement> FromIterator<<T as OpenCVType<'a>>::Arg> for Vector<T>where
Self: VectorExtern<T>,
sourcefn from_iter<I: IntoIterator<Item = <T as OpenCVType<'a>>::Arg>>(
s: I
) -> Vector<T>
fn from_iter<I: IntoIterator<Item = <T as OpenCVType<'a>>::Arg>>(
s: I
) -> Vector<T>
sourceimpl<'v, T: VectorElement> IntoIterator for &'v Vector<T>where
Vector<T>: VectorExtern<T>,
impl<'v, T: VectorElement> IntoIterator for &'v Vector<T>where
Vector<T>: VectorExtern<T>,
type Item = T
type Item = T
type IntoIter = VectorRefIterator<'v, T>
type IntoIter = VectorRefIterator<'v, T>
sourcefn into_iter(self) -> VectorRefIterator<'v, T>ⓘNotable traits for VectorRefIterator<'_, T>impl<T: VectorElement> Iterator for VectorRefIterator<'_, T>where
Vector<T>: VectorExtern<T>, type Item = T;
fn into_iter(self) -> VectorRefIterator<'v, T>ⓘNotable traits for VectorRefIterator<'_, T>impl<T: VectorElement> Iterator for VectorRefIterator<'_, T>where
Vector<T>: VectorExtern<T>, type Item = T;
Vector<T>: VectorExtern<T>, type Item = T;
sourceimpl<T: VectorElement> IntoIterator for Vector<T>where
Vector<T>: VectorExtern<T>,
impl<T: VectorElement> IntoIterator for Vector<T>where
Vector<T>: VectorExtern<T>,
type Item = T
type Item = T
type IntoIter = VectorIterator<T>
type IntoIter = VectorIterator<T>
sourcefn into_iter(self) -> VectorIterator<T>ⓘNotable traits for VectorIterator<T>impl<T: VectorElement> Iterator for VectorIterator<T>where
Vector<T>: VectorExtern<T>, type Item = T;
fn into_iter(self) -> VectorIterator<T>ⓘNotable traits for VectorIterator<T>impl<T: VectorElement> Iterator for VectorIterator<T>where
Vector<T>: VectorExtern<T>, type Item = T;
Vector<T>: VectorExtern<T>, type Item = T;