#[repr(C)]pub struct ClassPredictionFFI<'a> {
pub label: AsciiPointer<'a>,
pub score: f32,
}Fields§
§label: AsciiPointer<'a>§score: f32Trait Implementations§
source§impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
impl<'a> From<&ClassPrediction> for ClassPredictionFFI<'a>
source§fn from(class_prediction: &ClassPrediction) -> Self
fn from(class_prediction: &ClassPrediction) -> Self
Converts to this type from the input type.