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