Skip to main content

SparseMatIteratorTraitConst

Trait SparseMatIteratorTraitConst 

Source
pub trait SparseMatIteratorTraitConst: SparseMatConstIteratorTraitConst {
    // Required method
    fn as_raw_SparseMatIterator(&self) -> *const c_void;

    // Provided method
    fn node(&self) -> Result<SparseMat_Node> { ... }
}
Expand description

Constant methods for core::SparseMatIterator

Required Methods§

Provided Methods§

Source

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!)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§