pub trait ObjectiveFunctionWithGradient: ObjectiveFunction + GradientFunction { }Expand description
ObjectiveFunctionWithGradient: A trait for objective functions that also have a gradient. It is a marker trait that indicates that the objective function implements bothObjectiveFunctionandGradientFunction.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".