Skip to main content

IntoPrediction

Trait IntoPrediction 

Source
pub trait IntoPrediction {
    type Out;

    // Required method
    fn into_prediction(self) -> Self::Out;
}
Expand description

Trait for converting a type into a prediction result.

This trait is used to convert a type into a prediction result.

Required Associated Types§

Source

type Out

The output type.

Required Methods§

Source

fn into_prediction(self) -> Self::Out

Converts the type into a prediction result.

§Returns

The prediction result.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§