Skip to main content

AddAssignElement

Trait AddAssignElement 

Source
pub trait AddAssignElement<Rhs = Self> {
    // Required method
    fn add_assign(&mut self, rhs: Rhs);
}
Expand description

The addition assignment operator implemented for ndarray elements.

Required Methods§

Source

fn add_assign(&mut self, rhs: Rhs)

Performs the addition assignment operation.

For bool, this corresponds to logical OR assignment.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AddAssignElement for bool

Source§

fn add_assign(&mut self, rhs: Self)

Implementors§