AsNalgebraNonCanonicalInterface

Trait AsNalgebraNonCanonicalInterface 

Source
pub trait AsNalgebraNonCanonicalInterface<T>: Copy
where T: Copy,
{ // Required method fn clone_as_nalgebra(&self) -> T; }
Expand description

Trait for non-canonical structure to clone math data structures of other math libs as their analogs in nalgebra to use operations of nalgebra.

Required Methods§

Source

fn clone_as_nalgebra(&self) -> T

Clone this data structure as nalgebra analog to use its operations.

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<Scalar, Any> AsNalgebraNonCanonicalInterface<Matrix<Scalar, Const<2>, Const<1>, ArrayStorage<Scalar, 2, 1>>> for Any
where Scalar: ScalarInterface, Any: X2NominalInterface<Scalar = Scalar> + Copy,