[][src]Struct opencv::core::MatConstIterator

pub struct MatConstIterator { /* fields omitted */ }

Methods

impl MatConstIterator[src]

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

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl MatConstIterator[src]

pub fn default() -> Result<MatConstIterator>[src]

default constructor

pub fn over(_m: &Mat) -> Result<MatConstIterator>[src]

constructor that sets the iterator to the beginning of the matrix

pub fn with_rows_cols(
    _m: &Mat,
    _row: i32,
    _col: i32
) -> Result<MatConstIterator>
[src]

constructor that sets the iterator to the specified element of the matrix

C++ default parameters

  • _col: 0

pub fn with_start(_m: &Mat, _pt: Point) -> Result<MatConstIterator>[src]

constructor that sets the iterator to the specified element of the matrix

pub fn copy(it: &MatConstIterator) -> Result<MatConstIterator>[src]

copy constructor

pub fn pos(&self) -> Result<Point>[src]

returns the current iterator position

pub fn pos_to(&self, _idx: &mut i32) -> Result<()>[src]

returns the current iterator position

pub fn lpos(&self) -> Result<ptrdiff_t>[src]

pub fn seek(&mut self, ofs: ptrdiff_t, relative: bool) -> Result<()>[src]

C++ default parameters

  • relative: false

pub fn seek_idx(&mut self, _idx: &i32, relative: bool) -> Result<()>[src]

C++ default parameters

  • relative: false

impl MatConstIterator[src]

pub fn typ(&self) -> i32[src]

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

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

pub unsafe fn get_unchecked<T: DataType>(&self) -> Result<&T>[src]

Trait Implementations

impl Drop for MatConstIterator[src]

impl Send for MatConstIterator[src]

Auto Trait Implementations

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<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.