[][src]Struct opencv::types::VectorOfint

pub struct VectorOfint { /* fields omitted */ }

Methods

impl VectorOfint[src]

pub fn as_raw_VectorOfint(&self) -> *mut c_void[src]

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

Trait Implementations

impl<'i> Vector<'i> for VectorOfint[src]

type Storage = i32

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

Swaps values of 2 elements

type Arg = i32

fn from_iter(s: impl IntoIterator<Item = Self::Arg>) -> Self where
    Self: Sized
[src]

Create a Vector from iterator

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

Create a Vector with pre-defined capacity

fn to_vec(&self) -> Vec<Self::Storage>[src]

Convert to Rust Vec

impl IntoIterator for VectorOfint[src]

type Item = i32

The type of the elements being iterated over.

type IntoIter = VectorIterator<Self>

Which kind of iterator are we turning this into?

impl<'i> IntoIterator for &'i VectorOfint[src]

type Item = i32

The type of the elements being iterated over.

type IntoIter = VectorRefIterator<'i, VectorOfint>

Which kind of iterator are we turning this into?

impl Send for VectorOfint[src]

impl Drop for VectorOfint[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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