Struct opencv::core::MatConstIterator
source · pub struct MatConstIterator { /* private fields */ }
Expand description
/////////////////////////////// MatConstIterator //////////////////////////////////
Implementations§
source§impl MatConstIterator
impl MatConstIterator
sourcepub fn default() -> Result<MatConstIterator>
pub fn default() -> Result<MatConstIterator>
default constructor
sourcepub fn over(_m: &Mat) -> Result<MatConstIterator>
pub fn over(_m: &Mat) -> Result<MatConstIterator>
constructor that sets the iterator to the beginning of the matrix
sourcepub fn with_rows_cols(
_m: &Mat,
_row: i32,
_col: i32
) -> Result<MatConstIterator>
pub fn with_rows_cols( _m: &Mat, _row: i32, _col: i32 ) -> Result<MatConstIterator>
constructor that sets the iterator to the specified element of the matrix
C++ default parameters
- _col: 0
sourcepub fn with_start(_m: &Mat, _pt: Point) -> Result<MatConstIterator>
pub fn with_start(_m: &Mat, _pt: Point) -> Result<MatConstIterator>
constructor that sets the iterator to the specified element of the matrix
sourcepub fn copy(it: &MatConstIterator) -> Result<MatConstIterator>
pub fn copy(it: &MatConstIterator) -> Result<MatConstIterator>
copy constructor
Trait Implementations§
source§impl Boxed for MatConstIterator
impl Boxed for MatConstIterator
source§impl Drop for MatConstIterator
impl Drop for MatConstIterator
source§impl MatConstIteratorTrait for MatConstIterator
impl MatConstIteratorTrait for MatConstIterator
fn as_raw_mut_MatConstIterator(&mut self) -> *mut c_void
fn set_elem_size(&mut self, val: size_t)
source§fn decr(&mut self) -> Result<MatConstIterator>
fn decr(&mut self) -> Result<MatConstIterator>
decrements the iterator
source§fn incr(&mut self) -> Result<MatConstIterator>
fn incr(&mut self) -> Result<MatConstIterator>
increments the iterator
source§impl MatConstIteratorTraitConst for MatConstIterator
impl MatConstIteratorTraitConst for MatConstIterator
fn as_raw_MatConstIterator(&self) -> *const c_void
fn m(&self) -> Mat
fn elem_size(&self) -> size_t
fn ptr(&self) -> *const u8
fn slice_start(&self) -> *const u8
fn slice_end(&self) -> *const u8
source§fn get(&self, i: ptrdiff_t) -> Result<*const u8>
fn get(&self, i: ptrdiff_t) -> Result<*const u8>
returns the i-th matrix element, relative to the current
fn lpos(&self) -> Result<ptrdiff_t>
impl Send for MatConstIterator
Auto Trait Implementations§
impl RefUnwindSafe for MatConstIterator
impl !Sync for MatConstIterator
impl Unpin for MatConstIterator
impl UnwindSafe for MatConstIterator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more