pub trait AsCgmathNonCanonicalInterface<T>: Copywhere
T: Copy,{
// Required method
fn clone_as_cgmath(&self) -> T;
}Expand description
Trait for non-canonical structure to clone math data structures of other math libs as their analogs in cgmath to use operations of cgmath.
Required Methods§
Sourcefn clone_as_cgmath(&self) -> T
fn clone_as_cgmath(&self) -> T
Clone this data structure as cgmath 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.