Skip to main content

IntoOwnedPrediction

Trait IntoOwnedPrediction 

Source
pub trait IntoOwnedPrediction {
    type Out;

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

Trait for converting a type into an owned prediction result.

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

Required Associated Types§

Source

type Out

The output type.

Required Methods§

Source

fn into_owned_prediction(self) -> Self::Out

Converts the type into an owned prediction result.

§Returns

The owned prediction result.

Implementors§

Source§

impl<T> IntoOwnedPrediction for T

Implementation of IntoOwnedPrediction for types that implement IntoPrediction.

This implementation allows types that implement IntoPrediction to be converted into owned prediction results.