pub trait DeepClone {
// Required method
fn deep_clone(&self, math: &mut Math) -> Self;
}Expand description
Deep clone a mathematical expression. This is different from Clone in that
it works with the math stage’s flattened memory model and deep clones all of
an expression’s dependencies (subexpressions).
Required Methods§
sourcefn deep_clone(&self, math: &mut Math) -> Self
fn deep_clone(&self, math: &mut Math) -> Self
Perform a deep clone.
Object Safety§
This trait is not object safe.