Trait MatConstIteratorTraitConst

Source
pub trait MatConstIteratorTraitConst {
    // 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> { ... }
    unsafe fn pos_to(&self, _idx: *mut i32) -> Result<()> { ... }
    fn lpos(&self) -> Result<ptrdiff_t> { ... }
    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

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

returns the current iterator position

Source

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

Source

fn typ(&self) -> i32

Implementors§