pub enum MlMetricDirection {
HigherIsBetter,
LowerIsBetter,
TargetIsBest,
Unknown,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MlMetricDirection
impl Clone for MlMetricDirection
Source§fn clone(&self) -> MlMetricDirection
fn clone(&self) -> MlMetricDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MlMetricDirection
impl Debug for MlMetricDirection
Source§impl Display for MlMetricDirection
impl Display for MlMetricDirection
Source§impl FromStr for MlMetricDirection
impl FromStr for MlMetricDirection
Source§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlMetricDirection, <MlMetricDirection as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlMetricDirection, <MlMetricDirection as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlMetricDirection
impl Hash for MlMetricDirection
Source§impl Ord for MlMetricDirection
impl Ord for MlMetricDirection
Source§fn cmp(&self, other: &MlMetricDirection) -> Ordering
fn cmp(&self, other: &MlMetricDirection) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MlMetricDirection
impl PartialEq for MlMetricDirection
Source§fn eq(&self, other: &MlMetricDirection) -> bool
fn eq(&self, other: &MlMetricDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlMetricDirection
impl PartialOrd for MlMetricDirection
impl Copy for MlMetricDirection
impl Eq for MlMetricDirection
impl StructuralPartialEq for MlMetricDirection
Auto Trait Implementations§
impl Freeze for MlMetricDirection
impl RefUnwindSafe for MlMetricDirection
impl Send for MlMetricDirection
impl Sync for MlMetricDirection
impl Unpin for MlMetricDirection
impl UnsafeUnpin for MlMetricDirection
impl UnwindSafe for MlMetricDirection
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