pub enum SolverVariant {
Standard,
Nu,
}Expand description
Standard vs Nu solver variant.
Variants§
Standard
Standard LIBSVM Solver variant for C-SVC, one-class SVM, and ε-SVR.
Nu
LIBSVM Solver_NU variant for ν-SVC and ν-SVR.
Trait Implementations§
Source§impl Clone for SolverVariant
impl Clone for SolverVariant
Source§fn clone(&self) -> SolverVariant
fn clone(&self) -> SolverVariant
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 moreimpl Copy for SolverVariant
Source§impl Debug for SolverVariant
impl Debug for SolverVariant
impl Eq for SolverVariant
Source§impl PartialEq for SolverVariant
impl PartialEq for SolverVariant
Source§fn eq(&self, other: &SolverVariant) -> bool
fn eq(&self, other: &SolverVariant) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SolverVariant
Auto Trait Implementations§
impl Freeze for SolverVariant
impl RefUnwindSafe for SolverVariant
impl Send for SolverVariant
impl Sync for SolverVariant
impl Unpin for SolverVariant
impl UnsafeUnpin for SolverVariant
impl UnwindSafe for SolverVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more