pub trait Link<M: Glm>: Transform {
// Required methods
fn func<F: Float>(y: F) -> F;
fn func_inv<F: Float>(lin_pred: F) -> F;
}
Expand description
Describes the functions to map to and from the linear predictors and the expectation of the response. It is constrained mathematically by the response distribution and the transformation of the linear predictor.
Required Methods§
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.