SparseMatConstIteratorTrait

Trait SparseMatConstIteratorTrait 

Source
pub trait SparseMatConstIteratorTrait: SparseMatConstIteratorTraitConst {
    // Required method
    fn as_raw_mut_SparseMatConstIterator(&mut self) -> *mut c_void;

    // Provided methods
    fn set_hashidx(&mut self, val: size_t) { ... }
    fn ptr_mut(&mut self) -> *mut u8 { ... }
    unsafe fn set_ptr(&mut self, val: *const u8) { ... }
    fn set(&mut self, it: &impl SparseMatConstIteratorTraitConst) -> Result<()> { ... }
    fn incr(&mut self) -> Result<SparseMatConstIterator> { ... }
    fn seek_end(&mut self) -> Result<()> { ... }
}
Expand description

Mutable methods for core::SparseMatConstIterator

Required Methods§

Provided Methods§

Source

fn set_hashidx(&mut self, val: size_t)

Source

fn ptr_mut(&mut self) -> *mut u8

Source

unsafe fn set_ptr(&mut self, val: *const u8)

Source

fn set(&mut self, it: &impl SparseMatConstIteratorTraitConst) -> Result<()>

the assignment operator

Source

fn incr(&mut self) -> Result<SparseMatConstIterator>

moves iterator to the next element

Source

fn seek_end(&mut self) -> Result<()>

moves iterator to the element after the last element

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§