opencv::prelude

Trait SparseMat_NodeTrait

Source
pub trait SparseMat_NodeTrait: SparseMat_NodeTraitConst {
    // Required method
    fn as_raw_mut_SparseMat_Node(&mut self) -> *mut c_void;

    // Provided methods
    fn set_hashval(&mut self, val: size_t) { ... }
    fn set_next(&mut self, val: size_t) { ... }
    fn idx_mut(&mut self) -> &mut [i32; 32] { ... }
}
Expand description

Mutable methods for core::SparseMat_Node

Required Methods§

Provided Methods§

Source

fn set_hashval(&mut self, val: size_t)

hash value

Source

fn set_next(&mut self, val: size_t)

index of the next node in the same hash table entry

Source

fn idx_mut(&mut self) -> &mut [i32; 32]

index of the matrix element

Implementors§