Struct MlMetricValue
pub struct MlMetricValue(/* private fields */);Implementations§
§impl MlMetricValue
impl MlMetricValue
pub fn new(value: f64) -> Result<MlMetricValue, MlMetricError>
pub const fn value(self) -> f64
Trait Implementations§
§impl Clone for MlMetricValue
impl Clone for MlMetricValue
§fn clone(&self) -> MlMetricValue
fn clone(&self) -> MlMetricValue
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 MlMetricValue
impl Debug for MlMetricValue
§impl PartialEq for MlMetricValue
impl PartialEq for MlMetricValue
§impl PartialOrd for MlMetricValue
impl PartialOrd for MlMetricValue
impl Copy for MlMetricValue
impl StructuralPartialEq for MlMetricValue
Auto Trait Implementations§
impl Freeze for MlMetricValue
impl RefUnwindSafe for MlMetricValue
impl Send for MlMetricValue
impl Sync for MlMetricValue
impl Unpin for MlMetricValue
impl UnsafeUnpin for MlMetricValue
impl UnwindSafe for MlMetricValue
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