Trait diffsol::vector::VectorViewMut

source ·
pub trait VectorViewMut<'a>: VectorMutOpsByValue<Self::View> + VectorMutOpsByValue<Self::Owned> + for<'b> VectorMutOpsByValue<&'b Self::View> + for<'b> VectorMutOpsByValue<&'b Self::Owned> + MulAssign<Scale<Self::T>> + Index<IndexType, Output = Self::T> + IndexMut<IndexType, Output = Self::T> {
    type Owned;
    type View;

    // Required methods
    fn abs_to(&self, y: &mut Self::Owned);
    fn copy_from(&mut self, other: &Self::Owned);
    fn copy_from_view(&mut self, other: &Self::View);
}

Required Associated Types§

Required Methods§

source

fn abs_to(&self, y: &mut Self::Owned)

source

fn copy_from(&mut self, other: &Self::Owned)

source

fn copy_from_view(&mut self, other: &Self::View)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, T: Scalar> VectorViewMut<'a> for ColMut<'a, T>

§

type Owned = Col<T>

§

type View = ColRef<'a, T>

source§

fn abs_to(&self, y: &mut Self::Owned)

source§

fn copy_from(&mut self, other: &Self::Owned)

source§

fn copy_from_view(&mut self, other: &Self::View)

source§

impl<'a, T: Scalar> VectorViewMut<'a> for DVectorViewMut<'a, T>

§

type Owned = Matrix<T, Dyn, Const<1>, VecStorage<T, Dyn, Const<1>>>

§

type View = Matrix<T, Dyn, Const<1>, ViewStorage<'a, T, Dyn, Const<1>, Const<1>, Dyn>>

source§

fn abs_to(&self, y: &mut Self::Owned)

source§

fn copy_from(&mut self, other: &Self::Owned)

source§

fn copy_from_view(&mut self, other: &Self::View)

Implementors§