pub struct MlBenchmarkName(/* private fields */);Implementations§
Source§impl MlBenchmarkName
impl MlBenchmarkName
pub fn new(value: impl AsRef<str>) -> Result<MlBenchmarkName, MlEvaluationError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl AsRef<str> for MlBenchmarkName
impl AsRef<str> for MlBenchmarkName
Source§impl Clone for MlBenchmarkName
impl Clone for MlBenchmarkName
Source§fn clone(&self) -> MlBenchmarkName
fn clone(&self) -> MlBenchmarkName
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 MlBenchmarkName
impl Debug for MlBenchmarkName
Source§impl Display for MlBenchmarkName
impl Display for MlBenchmarkName
Source§impl FromStr for MlBenchmarkName
impl FromStr for MlBenchmarkName
Source§type Err = MlEvaluationError
type Err = MlEvaluationError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlBenchmarkName, <MlBenchmarkName as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlBenchmarkName, <MlBenchmarkName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlBenchmarkName
impl Hash for MlBenchmarkName
Source§impl Ord for MlBenchmarkName
impl Ord for MlBenchmarkName
Source§fn cmp(&self, other: &MlBenchmarkName) -> Ordering
fn cmp(&self, other: &MlBenchmarkName) -> 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 MlBenchmarkName
impl PartialEq for MlBenchmarkName
Source§fn eq(&self, other: &MlBenchmarkName) -> bool
fn eq(&self, other: &MlBenchmarkName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlBenchmarkName
impl PartialOrd for MlBenchmarkName
Source§impl TryFrom<&str> for MlBenchmarkName
impl TryFrom<&str> for MlBenchmarkName
Source§type Error = MlEvaluationError
type Error = MlEvaluationError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &str,
) -> Result<MlBenchmarkName, <MlBenchmarkName as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<MlBenchmarkName, <MlBenchmarkName as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for MlBenchmarkName
impl StructuralPartialEq for MlBenchmarkName
Auto Trait Implementations§
impl Freeze for MlBenchmarkName
impl RefUnwindSafe for MlBenchmarkName
impl Send for MlBenchmarkName
impl Sync for MlBenchmarkName
impl Unpin for MlBenchmarkName
impl UnsafeUnpin for MlBenchmarkName
impl UnwindSafe for MlBenchmarkName
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