pub trait MatConstIteratorTraitConst {
Show 13 methods // Required method fn as_raw_MatConstIterator(&self) -> *const c_void; // Provided methods 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 { ... } fn try_deref(&self) -> Result<*const u8> { ... } fn get(&self, i: ptrdiff_t) -> Result<*const u8> { ... } fn pos(&self) -> Result<Point> { ... } fn pos_to(&self, _idx: &mut i32) -> Result<()> { ... } fn lpos(&self) -> Result<ptrdiff_t> { ... } fn has_elements(&self) -> bool { ... } fn typ(&self) -> i32 { ... }
}
Expand description

Constant methods for core::MatConstIterator

Required Methods§

Provided Methods§

source

fn m(&self) -> Mat

source

fn elem_size(&self) -> size_t

source

fn ptr(&self) -> *const u8

source

fn slice_start(&self) -> *const u8

source

fn slice_end(&self) -> *const u8

source

fn try_deref(&self) -> Result<*const u8>

returns the current matrix element

source

fn get(&self, i: ptrdiff_t) -> Result<*const u8>

returns the i-th matrix element, relative to the current

source

fn pos(&self) -> Result<Point>

returns the current iterator position

source

fn pos_to(&self, _idx: &mut i32) -> Result<()>

returns the current iterator position

source

fn lpos(&self) -> Result<ptrdiff_t>

source

fn has_elements(&self) -> bool

source

fn typ(&self) -> i32

Implementors§