[][src]Struct opencv::core::Vector

pub struct Vector<T: VectorElement> where
    Self: VectorExtern<T>, 
{ /* fields omitted */ }

Wrapper for C++ std::vector

Implementations

impl Vector<DMatch>[src]

impl Vector<KeyPoint>[src]

impl Vector<Mat>[src]

impl Vector<PlatformInfo>[src]

impl Vector<Point_<i32>>[src]

impl Vector<Point_<f64>>[src]

impl Vector<Point_<f32>>[src]

impl Vector<Point3_<f64>>[src]

impl Vector<Point3_<f32>>[src]

impl Vector<Point3_<i32>>[src]

impl Vector<Range>[src]

impl Vector<Rect_<i32>>[src]

impl Vector<Rect_<f64>>[src]

impl Vector<RotatedRect>[src]

impl Vector<Scalar_<f64>>[src]

impl Vector<Size_<i32>>[src]

impl Vector<String>[src]

impl Vector<UMat>[src]

impl Vector<Vec2<i32>>[src]

impl Vector<Vec3<f64>>[src]

impl Vector<Vec3<f32>>[src]

impl Vector<Vec3<i32>>[src]

impl Vector<Vec4<f32>>[src]

impl Vector<Vec4<i32>>[src]

impl Vector<Vec6<f32>>[src]

impl Vector<Vector<DMatch>>[src]

impl Vector<Vector<KeyPoint>>[src]

impl Vector<Vector<Mat>>[src]

impl Vector<Vector<Point_<i32>>>[src]

impl Vector<Vector<Point_<f32>>>[src]

impl Vector<Vector<Point3_<f64>>>[src]

impl Vector<Vector<Point3_<f32>>>[src]

impl Vector<Vector<Point3_<i32>>>[src]

impl Vector<Vector<Range>>[src]

impl Vector<Vector<Vec2<i32>>>[src]

impl Vector<Vector<f64>>[src]

impl Vector<Vector<i32>>[src]

impl Vector<Vector<i8>>[src]

impl Vector<Vector<u8>>[src]

impl Vector<bool>[src]

impl Vector<f32>[src]

impl Vector<f64>[src]

impl Vector<i32>[src]

impl Vector<i8>[src]

impl Vector<usize>[src]

impl Vector<u8>[src]

impl Vector<Vector<i32>>[src]

impl Vector<Ptr<BackendNode>>[src]

impl Vector<Ptr<dyn BackendWrapper + 'static>>[src]

impl Vector<Ptr<Layer>>[src]

impl Vector<Target>[src]

impl Vector<Vector<Vector<i32>>>[src]

impl Vector<DPMDetector_ObjectDetection>[src]

impl Vector<FacemarkAAM_Config>[src]

impl Vector<FacemarkAAM_Model_Texture>[src]

impl Vector<FlannIndexType>[src]

impl Vector<KeyLine>[src]

impl Vector<Vector<KeyLine>>[src]

impl Vector<DTrees_Node>[src]

impl Vector<DTrees_Split>[src]

impl Vector<DetectionBasedTracker_ExtObject>[src]

impl Vector<DetectionROI>[src]

impl Vector<Detail_CameraParams>[src]

impl Vector<Detail_ImageFeatures>[src]

impl Vector<Detail_MatchesInfo>[src]

impl Vector<Ptr<Pose3D>>[src]

impl Vector<ERStat>[src]

impl Vector<Vector<ERStat>>[src]

impl Vector<VideoCapture>[src]

impl Vector<VideoCaptureAPIs>[src]

impl Vector<Elliptic_KeyPoint>[src]

impl<T: VectorElement> Vector<T> where
    Self: VectorExtern<T>, 
[src]

pub fn new() -> Self[src]

Create a new Vector

pub fn with_capacity(capacity: size_t) -> Self[src]

Create a Vector with pre-defined capacity

pub fn len(&self) -> size_t[src]

Return Vector length

pub fn is_empty(&self) -> bool[src]

Return true if Vector is empty

pub fn capacity(&self) -> size_t[src]

Return Vector current capacity

pub fn shrink_to_fit(&mut self)[src]

Free extra capacity

pub fn reserve(&mut self, additional: size_t)[src]

Reserve capacity for additional new elements

pub fn clear(&mut self)[src]

Remove all elements

pub fn remove(&mut self, index: size_t) -> Result<()>[src]

Remove the element at the specified index

pub fn swap(&mut self, index1: size_t, index2: size_t) -> Result<()>[src]

Swap 2 elements in the Vector

pub fn get(&self, index: size_t) -> Result<T>[src]

Get element at the specified index

pub unsafe fn get_unchecked(&self, index: size_t) -> T[src]

Same as get() but without bounds checking

pub fn iter(&self) -> VectorRefIterator<T>[src]

pub fn to_slice(&self) -> &[T] where
    Self: VectorExternCopyNonBool<T>, 
[src]

pub fn to_vec(&self) -> Vec<T>[src]

Trait Implementations

impl<T: VectorElement> Boxed for Vector<T> where
    Self: VectorExtern<T>, 
[src]

impl<T: VectorElement> Drop for Vector<T> where
    Self: VectorExtern<T>, 
[src]

impl<T: VectorElement> IntoIterator for Vector<T> where
    Vector<T>: VectorExtern<T>, 
[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = VectorIterator<T>

Which kind of iterator are we turning this into?

impl<'i, T: VectorElement> IntoIterator for &'i Vector<T> where
    Vector<T>: VectorExtern<T>, 
[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = VectorRefIterator<'i, T>

Which kind of iterator are we turning this into?

impl Send for Vector<DMatch>[src]

impl Send for Vector<KeyPoint>[src]

impl Send for Vector<Range>[src]

impl Send for Vector<Rect>[src]

impl Send for Vector<Rect2d>[src]

impl Send for Vector<RotatedRect>[src]

impl Send for Vector<Scalar>[src]

impl Send for Vector<Size>[src]

impl Send for Vector<String>[src]

impl Send for Vector<UMat>[src]

impl Send for Vector<Vec2i>[src]

impl Send for Vector<Vec3d>[src]

impl Send for Vector<Mat>[src]

impl Send for Vector<Vec3f>[src]

impl Send for Vector<Vec3i>[src]

impl Send for Vector<Vec4f>[src]

impl Send for Vector<Vec4i>[src]

impl Send for Vector<Vec6f>[src]

impl Send for Vector<Vector<DMatch>>[src]

impl Send for Vector<Vector<KeyPoint>>[src]

impl Send for Vector<Vector<Mat>>[src]

impl Send for Vector<Vector<Point>>[src]

impl Send for Vector<Vector<Point2f>>[src]

impl Send for Vector<PlatformInfo>[src]

impl Send for Vector<Vector<Point3d>>[src]

impl Send for Vector<Vector<Point3f>>[src]

impl Send for Vector<Vector<Point3i>>[src]

impl Send for Vector<Vector<Range>>[src]

impl Send for Vector<Vector<Vec2i>>[src]

impl Send for Vector<Vector<f64>>[src]

impl Send for Vector<Vector<i32>>[src]

impl Send for Vector<Vector<i8>>[src]

impl Send for Vector<Vector<u8>>[src]

impl Send for Vector<bool>[src]

impl Send for Vector<Point>[src]

impl Send for Vector<f32>[src]

impl Send for Vector<f64>[src]

impl Send for Vector<i32>[src]

impl Send for Vector<i8>[src]

impl Send for Vector<size_t>[src]

impl Send for Vector<u8>[src]

impl Send for Vector<Ptr<BackendNode>>[src]

impl Send for Vector<Ptr<dyn BackendWrapper>>[src]

impl Send for Vector<Ptr<Layer>>[src]

impl Send for Vector<Target>[src]

impl Send for Vector<Point2d>[src]

impl Send for Vector<Vector<MatShape>>[src]

impl Send for Vector<DPMDetector_ObjectDetection>[src]

impl Send for Vector<FacemarkAAM_Config>[src]

impl Send for Vector<FacemarkAAM_Model_Texture>[src]

impl Send for Vector<FlannIndexType>[src]

impl Send for Vector<KeyLine>[src]

impl Send for Vector<Vector<KeyLine>>[src]

impl Send for Vector<DTrees_Node>[src]

impl Send for Vector<DTrees_Split>[src]

impl Send for Vector<DetectionBasedTracker_ExtObject>[src]

impl Send for Vector<Point2f>[src]

impl Send for Vector<DetectionROI>[src]

impl Send for Vector<Detail_CameraParams>[src]

impl Send for Vector<Detail_ImageFeatures>[src]

impl Send for Vector<Detail_MatchesInfo>[src]

impl Send for Vector<Pose3DPtr>[src]

impl Send for Vector<ERStat>[src]

impl Send for Vector<Vector<ERStat>>[src]

impl Send for Vector<VideoCapture>[src]

impl Send for Vector<VideoCaptureAPIs>[src]

impl Send for Vector<Elliptic_KeyPoint>[src]

impl Send for Vector<Point3d>[src]

impl Send for Vector<Point3f>[src]

impl Send for Vector<Point3i>[src]

impl<'i> VectorTrait<'i> for Vector<DMatch>[src]

type Arg = DMatch

impl<'i> VectorTrait<'i> for Vector<KeyPoint>[src]

type Arg = KeyPoint

impl<'i> VectorTrait<'i> for Vector<Range>[src]

type Arg = Range

impl<'i> VectorTrait<'i> for Vector<Rect>[src]

type Arg = Rect

impl<'i> VectorTrait<'i> for Vector<Rect2d>[src]

type Arg = Rect2d

impl<'i> VectorTrait<'i> for Vector<RotatedRect>[src]

type Arg = RotatedRect

impl<'i> VectorTrait<'i> for Vector<Scalar>[src]

type Arg = Scalar

impl<'i> VectorTrait<'i> for Vector<Size>[src]

type Arg = Size

impl<'i> VectorTrait<'i> for Vector<String>[src]

type Arg = &'i str

impl<'i> VectorTrait<'i> for Vector<UMat>[src]

type Arg = UMat

impl<'i> VectorTrait<'i> for Vector<Vec2i>[src]

type Arg = Vec2i

impl<'i> VectorTrait<'i> for Vector<Vec3d>[src]

type Arg = Vec3d

impl<'i> VectorTrait<'i> for Vector<Mat>[src]

type Arg = Mat

impl<'i> VectorTrait<'i> for Vector<Vec3f>[src]

type Arg = Vec3f

impl<'i> VectorTrait<'i> for Vector<Vec3i>[src]

type Arg = Vec3i

impl<'i> VectorTrait<'i> for Vector<Vec4f>[src]

type Arg = Vec4f

impl<'i> VectorTrait<'i> for Vector<Vec4i>[src]

type Arg = Vec4i

impl<'i> VectorTrait<'i> for Vector<Vec6f>[src]

type Arg = Vec6f

impl<'i> VectorTrait<'i> for Vector<Vector<DMatch>>[src]

type Arg = Vector<DMatch>

impl<'i> VectorTrait<'i> for Vector<Vector<KeyPoint>>[src]

type Arg = Vector<KeyPoint>

impl<'i> VectorTrait<'i> for Vector<Vector<Mat>>[src]

type Arg = Vector<Mat>

impl<'i> VectorTrait<'i> for Vector<Vector<Point>>[src]

type Arg = Vector<Point>

impl<'i> VectorTrait<'i> for Vector<Vector<Point2f>>[src]

type Arg = Vector<Point2f>

impl<'i> VectorTrait<'i> for Vector<PlatformInfo>[src]

type Arg = PlatformInfo

impl<'i> VectorTrait<'i> for Vector<Vector<Point3d>>[src]

type Arg = Vector<Point3d>

impl<'i> VectorTrait<'i> for Vector<Vector<Point3f>>[src]

type Arg = Vector<Point3f>

impl<'i> VectorTrait<'i> for Vector<Vector<Point3i>>[src]

type Arg = Vector<Point3i>

impl<'i> VectorTrait<'i> for Vector<Vector<Range>>[src]

type Arg = Vector<Range>

impl<'i> VectorTrait<'i> for Vector<Vector<Vec2i>>[src]

type Arg = Vector<Vec2i>

impl<'i> VectorTrait<'i> for Vector<Vector<f64>>[src]

type Arg = Vector<f64>

impl<'i> VectorTrait<'i> for Vector<Vector<i32>>[src]

type Arg = Vector<i32>

impl<'i> VectorTrait<'i> for Vector<Vector<i8>>[src]

type Arg = Vector<i8>

impl<'i> VectorTrait<'i> for Vector<Vector<u8>>[src]

type Arg = Vector<u8>

impl<'i> VectorTrait<'i> for Vector<bool>[src]

type Arg = bool

impl<'i> VectorTrait<'i> for Vector<Point>[src]

type Arg = Point

impl<'i> VectorTrait<'i> for Vector<f32>[src]

type Arg = f32

impl<'i> VectorTrait<'i> for Vector<f64>[src]

type Arg = f64

impl<'i> VectorTrait<'i> for Vector<i32>[src]

type Arg = i32

impl<'i> VectorTrait<'i> for Vector<i8>[src]

type Arg = i8

impl<'i> VectorTrait<'i> for Vector<size_t>[src]

type Arg = size_t

impl<'i> VectorTrait<'i> for Vector<u8>[src]

type Arg = u8

impl<'i> VectorTrait<'i> for Vector<Ptr<BackendNode>>[src]

type Arg = Ptr<BackendNode>

impl<'i> VectorTrait<'i> for Vector<Ptr<dyn BackendWrapper>>[src]

type Arg = Ptr<dyn BackendWrapper>

impl<'i> VectorTrait<'i> for Vector<Ptr<Layer>>[src]

type Arg = Ptr<Layer>

impl<'i> VectorTrait<'i> for Vector<Target>[src]

type Arg = Target

impl<'i> VectorTrait<'i> for Vector<Point2d>[src]

type Arg = Point2d

impl<'i> VectorTrait<'i> for Vector<Vector<MatShape>>[src]

type Arg = Vector<MatShape>

impl<'i> VectorTrait<'i> for Vector<DPMDetector_ObjectDetection>[src]

type Arg = DPMDetector_ObjectDetection

impl<'i> VectorTrait<'i> for Vector<FacemarkAAM_Config>[src]

type Arg = FacemarkAAM_Config

impl<'i> VectorTrait<'i> for Vector<FacemarkAAM_Model_Texture>[src]

type Arg = FacemarkAAM_Model_Texture

impl<'i> VectorTrait<'i> for Vector<FlannIndexType>[src]

type Arg = FlannIndexType

impl<'i> VectorTrait<'i> for Vector<KeyLine>[src]

type Arg = KeyLine

impl<'i> VectorTrait<'i> for Vector<Vector<KeyLine>>[src]

type Arg = Vector<KeyLine>

impl<'i> VectorTrait<'i> for Vector<DTrees_Node>[src]

type Arg = DTrees_Node

impl<'i> VectorTrait<'i> for Vector<DTrees_Split>[src]

type Arg = DTrees_Split

impl<'i> VectorTrait<'i> for Vector<DetectionBasedTracker_ExtObject>[src]

type Arg = DetectionBasedTracker_ExtObject

impl<'i> VectorTrait<'i> for Vector<Point2f>[src]

type Arg = Point2f

impl<'i> VectorTrait<'i> for Vector<DetectionROI>[src]

type Arg = DetectionROI

impl<'i> VectorTrait<'i> for Vector<Detail_CameraParams>[src]

type Arg = Detail_CameraParams

impl<'i> VectorTrait<'i> for Vector<Detail_ImageFeatures>[src]

type Arg = Detail_ImageFeatures

impl<'i> VectorTrait<'i> for Vector<Detail_MatchesInfo>[src]

type Arg = Detail_MatchesInfo

impl<'i> VectorTrait<'i> for Vector<Pose3DPtr>[src]

type Arg = Pose3DPtr

impl<'i> VectorTrait<'i> for Vector<ERStat>[src]

type Arg = ERStat

impl<'i> VectorTrait<'i> for Vector<Vector<ERStat>>[src]

type Arg = Vector<ERStat>

impl<'i> VectorTrait<'i> for Vector<VideoCapture>[src]

type Arg = VideoCapture

impl<'i> VectorTrait<'i> for Vector<VideoCaptureAPIs>[src]

type Arg = VideoCaptureAPIs

impl<'i> VectorTrait<'i> for Vector<Elliptic_KeyPoint>[src]

type Arg = Elliptic_KeyPoint

impl<'i> VectorTrait<'i> for Vector<Point3d>[src]

type Arg = Point3d

impl<'i> VectorTrait<'i> for Vector<Point3f>[src]

type Arg = Point3f

impl<'i> VectorTrait<'i> for Vector<Point3i>[src]

type Arg = Point3i

Auto Trait Implementations

impl<T> RefUnwindSafe for Vector<T> where
    T: RefUnwindSafe

impl<T> !Send for Vector<T>

impl<T> !Sync for Vector<T>

impl<T> Unpin for Vector<T> where
    T: Unpin

impl<T> UnwindSafe for Vector<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.