Struct feanor_math::vector::sparse::SparseVectorMut
source · pub struct SparseVectorMut<R: RingStore> { /* private fields */ }Implementations§
Trait Implementations§
source§impl<R: RingStore> VectorView<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
impl<R: RingStore> VectorView<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
fn at(&self, i: usize) -> &El<R>
fn len(&self) -> usize
fn map<U: ?Sized, F: Fn(&T) -> &U>(self, f: F) -> Map<Self, F, T>where
Self: Sized,
fn stride(self, stride: usize) -> Stride<T, Self>where
Self: Sized,
fn chain<V>(self, rhs: V) -> Chain<Self, V, T>where
Self: Sized,
V: VectorView<T>,
fn as_el_fn<R>(self, ring: R) -> RingElVectorViewFn<R, Self, T>
fn iter<'a>(&'a self) -> VectorViewIter<'a, Self, T> ⓘ
source§impl<R: RingStore> VectorViewMut<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
impl<R: RingStore> VectorViewMut<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
source§impl<R: RingStore> VectorViewSparse<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
impl<R: RingStore> VectorViewSparse<<<R as RingStore>::Type as RingBase>::Element> for SparseVectorMut<R>
type Iter<'a> = SparseVectorMutIter<'a, R> where Self: 'a
fn nontrivial_entries<'a>(&'a self) -> Self::Iter<'a>
Auto Trait Implementations§
impl<R> Freeze for SparseVectorMut<R>
impl<R> RefUnwindSafe for SparseVectorMut<R>
impl<R> Send for SparseVectorMut<R>
impl<R> Sync for SparseVectorMut<R>
impl<R> Unpin for SparseVectorMut<R>
impl<R> UnwindSafe for SparseVectorMut<R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more