Skip to main content

MatItem

Trait MatItem 

Source
pub trait MatItem:
    Zero
    + Mul<Output = Self>
    + AddAssign
    + Clone
    + Copy { }
Expand description

A trait for sparse matrix elements.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: Zero + Mul<Output = Self> + AddAssign + Clone + Copy> MatItem for T