Enum opencv::ml::SampleTypes
source · #[repr(C)]
pub enum SampleTypes {
ROW_SAMPLE,
COL_SAMPLE,
}
Expand description
Sample types
Variants§
ROW_SAMPLE
each training sample is a row of samples
COL_SAMPLE
each training sample occupies a column of samples
Trait Implementations§
source§impl Clone for SampleTypes
impl Clone for SampleTypes
source§fn clone(&self) -> SampleTypes
fn clone(&self) -> SampleTypes
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 SampleTypes
impl Debug for SampleTypes
source§impl PartialEq<SampleTypes> for SampleTypes
impl PartialEq<SampleTypes> for SampleTypes
source§fn eq(&self, other: &SampleTypes) -> bool
fn eq(&self, other: &SampleTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.