Enum opencv::core::SolveLPResult
source · #[repr(C)]
pub enum SolveLPResult {
SOLVELP_UNBOUNDED,
SOLVELP_UNFEASIBLE,
SOLVELP_SINGLE,
SOLVELP_MULTI,
}
Expand description
return codes for cv::solveLP() function
Variants
SOLVELP_UNBOUNDED
problem is unbounded (target function can achieve arbitrary high values)
SOLVELP_UNFEASIBLE
problem is unfeasible (there are no points that satisfy all the constraints imposed)
SOLVELP_SINGLE
there is only one maximum for target function
SOLVELP_MULTI
there are multiple maxima for target function - the arbitrary one is returned
Trait Implementations
sourceimpl Clone for SolveLPResult
impl Clone for SolveLPResult
sourcefn clone(&self) -> SolveLPResult
fn clone(&self) -> SolveLPResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SolveLPResult
impl Debug for SolveLPResult
sourceimpl PartialEq<SolveLPResult> for SolveLPResult
impl PartialEq<SolveLPResult> for SolveLPResult
sourcefn eq(&self, other: &SolveLPResult) -> bool
fn eq(&self, other: &SolveLPResult) -> bool
impl Copy for SolveLPResult
impl Eq for SolveLPResult
impl StructuralEq for SolveLPResult
impl StructuralPartialEq for SolveLPResult
Auto Trait Implementations
impl RefUnwindSafe for SolveLPResult
impl Send for SolveLPResult
impl Sync for SolveLPResult
impl Unpin for SolveLPResult
impl UnwindSafe for SolveLPResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more