Enum MlMetricDirection
pub enum MlMetricDirection {
HigherIsBetter,
LowerIsBetter,
TargetIsBest,
Unknown,
}Variants§
Implementations§
§impl MlMetricDirection
impl MlMetricDirection
Trait Implementations§
§impl Clone for MlMetricDirection
impl Clone for MlMetricDirection
§fn clone(&self) -> MlMetricDirection
fn clone(&self) -> MlMetricDirection
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 more§impl Debug for MlMetricDirection
impl Debug for MlMetricDirection
§impl Display for MlMetricDirection
impl Display for MlMetricDirection
§impl FromStr for MlMetricDirection
impl FromStr for MlMetricDirection
§type Err = MlMetricError
type Err = MlMetricError
The associated error which can be returned from parsing.
§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 more§impl Hash for MlMetricDirection
impl Hash for MlMetricDirection
§impl Ord for MlMetricDirection
impl Ord for MlMetricDirection
§fn cmp(&self, other: &MlMetricDirection) -> Ordering
fn cmp(&self, other: &MlMetricDirection) -> Ordering
1.21.0 · 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
§impl PartialEq for MlMetricDirection
impl PartialEq for MlMetricDirection
§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