pub trait DiffWrt<Var> {
type Output;
// Required method
fn diff_wrt(&self, var: &Var) -> Self::Output;
}Expand description
Typed differentiation. Differentiating Self with respect to Var
produces Self::Output with the correct physical dimension.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".