pub trait ColOp<T, D: Device = Self>: Device {
// Required methods
fn add_col(
&self,
lhs: &Matrix<'_, T, D>,
rhs: &Matrix<'_, T, D>,
) -> Matrix<'_, T, Self>;
fn sub_col(
&self,
lhs: &Matrix<'_, T, D>,
rhs: &Matrix<'_, T, D>,
) -> Matrix<'_, T, Self>;
fn div_col(
&self,
lhs: &Matrix<'_, T, D>,
rhs: &Matrix<'_, T, D>,
) -> Matrix<'_, T, Self>;
}Required Methods§
fn add_col( &self, lhs: &Matrix<'_, T, D>, rhs: &Matrix<'_, T, D>, ) -> Matrix<'_, T, Self>
fn sub_col( &self, lhs: &Matrix<'_, T, D>, rhs: &Matrix<'_, T, D>, ) -> Matrix<'_, T, Self>
fn div_col( &self, lhs: &Matrix<'_, T, D>, rhs: &Matrix<'_, T, D>, ) -> Matrix<'_, T, Self>
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.