Trait feanor_math::vector::VectorViewSparse

source ·
pub trait VectorViewSparse<T: ?Sized>: VectorView<T> {
    type Iter<'a>: Iterator<Item = (usize, &'a T)>
       where Self: 'a,
             T: 'a;

    // Required method
    fn nontrivial_entries<'a>(&'a self) -> Self::Iter<'a>;
}

Required Associated Types§

source

type Iter<'a>: Iterator<Item = (usize, &'a T)> where Self: 'a, T: 'a

Required Methods§

source

fn nontrivial_entries<'a>(&'a self) -> Self::Iter<'a>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<R: RingStore> VectorViewSparse<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>

§

type Iter<'a> = SparseVectorMutIter<'a, R> where Self: 'a