Trait opencv::core::SparseMatIteratorTraitConst
source · [−]pub trait SparseMatIteratorTraitConst: SparseMatConstIteratorTraitConst {
fn as_raw_SparseMatIterator(&self) -> *const c_void;
fn node(&self) -> Result<SparseMat_Node> { ... }
}
Expand description
Read-write Sparse Matrix Iterator
The class is similar to cv::SparseMatConstIterator, but can be used for in-place modification of the matrix elements.
Required Methods
source
fn as_raw_SparseMatIterator(&self) -> *const c_void
Provided Methods
sourcefn node(&self) -> Result<SparseMat_Node>
fn node(&self) -> Result<SparseMat_Node>
returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (do not modify it!)