Enum opencv::ml::LogisticRegression_RegKinds
source · #[repr(C)]pub enum LogisticRegression_RegKinds {
REG_DISABLE = -1,
REG_L1 = 0,
REG_L2 = 1,
}
Expand description
Regularization kinds
Variants§
Trait Implementations§
source§impl Clone for LogisticRegression_RegKinds
impl Clone for LogisticRegression_RegKinds
source§fn clone(&self) -> LogisticRegression_RegKinds
fn clone(&self) -> LogisticRegression_RegKinds
Returns a copy 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 moresource§impl Debug for LogisticRegression_RegKinds
impl Debug for LogisticRegression_RegKinds
source§impl From<LogisticRegression_RegKinds> for i32
impl From<LogisticRegression_RegKinds> for i32
source§fn from(v: LogisticRegression_RegKinds) -> Self
fn from(v: LogisticRegression_RegKinds) -> Self
Converts to this type from the input type.
source§impl PartialEq for LogisticRegression_RegKinds
impl PartialEq for LogisticRegression_RegKinds
source§fn eq(&self, other: &LogisticRegression_RegKinds) -> bool
fn eq(&self, other: &LogisticRegression_RegKinds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for LogisticRegression_RegKinds
impl TryFrom<i32> for LogisticRegression_RegKinds
impl Copy for LogisticRegression_RegKinds
impl Eq for LogisticRegression_RegKinds
impl StructuralPartialEq for LogisticRegression_RegKinds
Auto Trait Implementations§
impl Freeze for LogisticRegression_RegKinds
impl RefUnwindSafe for LogisticRegression_RegKinds
impl Send for LogisticRegression_RegKinds
impl Sync for LogisticRegression_RegKinds
impl Unpin for LogisticRegression_RegKinds
impl UnwindSafe for LogisticRegression_RegKinds
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