[−][src]Struct opencv::core::SparseMatIterator
Read-write Sparse Matrix Iterator
The class is similar to cv::SparseMatConstIterator, but can be used for in-place modification of the matrix elements.
Implementations
impl SparseMatIterator
[src]
pub fn as_raw_SparseMatIterator(&self) -> *const c_void
[src]
pub fn as_raw_mut_SparseMatIterator(&mut self) -> *mut c_void
[src]
impl SparseMatIterator
[src]
pub fn default() -> Result<SparseMatIterator>
[src]
the default constructor
pub fn new(_m: &mut SparseMat) -> Result<SparseMatIterator>
[src]
the full constructor setting the iterator to the first sparse matrix element
pub fn copy(it: &SparseMatIterator) -> Result<SparseMatIterator>
[src]
the copy constructor
Trait Implementations
impl Boxed for SparseMatIterator
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for SparseMatIterator
[src]
impl Send for SparseMatIterator
[src]
impl SparseMatConstIteratorTrait for SparseMatIterator
[src]
pub fn as_raw_SparseMatConstIterator(&self) -> *const c_void
[src]
pub fn as_raw_mut_SparseMatConstIterator(&mut self) -> *mut c_void
[src]
pub fn m(&self) -> SparseMat
[src]
pub fn hashidx(&self) -> size_t
[src]
pub fn set_hashidx(&mut self, val: size_t)
[src]
pub fn ptr(&mut self) -> &mut u8
[src]
pub fn set_ptr(&mut self, val: &mut u8)
[src]
pub fn node(&self) -> Result<SparseMat_Node>
[src]
pub fn seek_end(&mut self) -> Result<()>
[src]
impl SparseMatIteratorTrait for SparseMatIterator
[src]
pub fn as_raw_SparseMatIterator(&self) -> *const c_void
[src]
pub fn as_raw_mut_SparseMatIterator(&mut self) -> *mut c_void
[src]
pub fn node(&self) -> Result<SparseMat_Node>
[src]
Auto Trait Implementations
impl RefUnwindSafe for SparseMatIterator
[src]
impl !Sync for SparseMatIterator
[src]
impl Unpin for SparseMatIterator
[src]
impl UnwindSafe for SparseMatIterator
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,