pub enum MlExampleKind {
Labeled,
Unlabeled,
WeaklyLabeled,
PseudoLabeled,
Augmented,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MlExampleKind
impl Clone for MlExampleKind
Source§fn clone(&self) -> MlExampleKind
fn clone(&self) -> MlExampleKind
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 MlExampleKind
impl Debug for MlExampleKind
Source§impl Display for MlExampleKind
impl Display for MlExampleKind
Source§impl FromStr for MlExampleKind
impl FromStr for MlExampleKind
Source§type Err = MlDatasetError
type Err = MlDatasetError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<MlExampleKind, <MlExampleKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<MlExampleKind, <MlExampleKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for MlExampleKind
impl Hash for MlExampleKind
Source§impl Ord for MlExampleKind
impl Ord for MlExampleKind
Source§fn cmp(&self, other: &MlExampleKind) -> Ordering
fn cmp(&self, other: &MlExampleKind) -> 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 MlExampleKind
impl PartialEq for MlExampleKind
Source§fn eq(&self, other: &MlExampleKind) -> bool
fn eq(&self, other: &MlExampleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MlExampleKind
impl PartialOrd for MlExampleKind
impl Copy for MlExampleKind
impl Eq for MlExampleKind
impl StructuralPartialEq for MlExampleKind
Auto Trait Implementations§
impl Freeze for MlExampleKind
impl RefUnwindSafe for MlExampleKind
impl Send for MlExampleKind
impl Sync for MlExampleKind
impl Unpin for MlExampleKind
impl UnsafeUnpin for MlExampleKind
impl UnwindSafe for MlExampleKind
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