Enum opencv::ml::SampleTypes
source · #[repr(C)]pub enum SampleTypes {
ROW_SAMPLE = 0,
COL_SAMPLE = 1,
}
Expand description
Sample types
Variants§
ROW_SAMPLE = 0
each training sample is a row of samples
COL_SAMPLE = 1
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 From<SampleTypes> for i32
impl From<SampleTypes> for i32
source§fn from(v: SampleTypes) -> Self
fn from(v: SampleTypes) -> Self
Converts to this type from the input type.
source§impl PartialEq for SampleTypes
impl PartialEq 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 ==
.impl Copy for SampleTypes
impl Eq for SampleTypes
impl StructuralEq for SampleTypes
impl StructuralPartialEq for SampleTypes
Auto Trait Implementations§
impl RefUnwindSafe for SampleTypes
impl Send for SampleTypes
impl Sync for SampleTypes
impl Unpin for SampleTypes
impl UnwindSafe for SampleTypes
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