Trait 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>> {
    type Owned;
    type View;
    type Index: VectorIndex;

    // Required methods
    fn copy_from(&mut self, other: &Self::Owned);
    fn copy_from_view(&mut self, other: &Self::View);
    fn axpy(&mut self, alpha: Self::T, x: &Self::Owned, beta: Self::T);
}

Required Associated Types§

Required Methods§

Source

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

Source

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

Source

fn axpy(&mut self, alpha: Self::T, x: &Self::Owned, beta: Self::T)

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§