pub struct ScalarPrediction {
pub prediction: f32,
pub raw_prediction: f32,
}Fields§
§prediction: f32§raw_prediction: f32Trait Implementations§
Source§impl AsInner<ScalarPrediction> for Prediction
impl AsInner<ScalarPrediction> for Prediction
fn as_inner(&self) -> Option<&ScalarPrediction>
fn as_inner_mut(&mut self) -> Option<&mut ScalarPrediction>
Source§impl Clone for ScalarPrediction
impl Clone for ScalarPrediction
Source§fn clone(&self) -> ScalarPrediction
fn clone(&self) -> ScalarPrediction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScalarPrediction
impl Debug for ScalarPrediction
Source§impl From<ScalarPrediction> for Prediction
impl From<ScalarPrediction> for Prediction
Source§fn from(f: ScalarPrediction) -> Self
fn from(f: ScalarPrediction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScalarPrediction
impl PartialEq for ScalarPrediction
Source§impl Serialize for ScalarPrediction
impl Serialize for ScalarPrediction
Source§impl TryFrom<Prediction> for ScalarPrediction
impl TryFrom<Prediction> for ScalarPrediction
impl StructuralPartialEq for ScalarPrediction
Auto Trait Implementations§
impl Freeze for ScalarPrediction
impl RefUnwindSafe for ScalarPrediction
impl Send for ScalarPrediction
impl Sync for ScalarPrediction
impl Unpin for ScalarPrediction
impl UnwindSafe for ScalarPrediction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more