Skip to main content

VectorMutOpsByValue

Trait VectorMutOpsByValue 

Source
pub trait VectorMutOpsByValue<Rhs = Self>:
    VectorCommon
    + AddAssign<Rhs>
    + SubAssign<Rhs> { }
Expand description

In-place operations on vectors (addition and subtraction).

This trait defines in-place vector addition and subtraction (self += rhs, self -= rhs).

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§

Source§

impl<V, Rhs> VectorMutOpsByValue<Rhs> for V
where V: VectorCommon + AddAssign<Rhs> + SubAssign<Rhs>,