pub enum OptDirection {
Minimize,
Maximize,
}Expand description
Optimization direction.
Variants§
Trait Implementations§
Source§impl Clone for OptDirection
impl Clone for OptDirection
Source§fn clone(&self) -> OptDirection
fn clone(&self) -> OptDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OptDirection
Source§impl Debug for OptDirection
impl Debug for OptDirection
impl Eq for OptDirection
Source§impl PartialEq for OptDirection
impl PartialEq for OptDirection
Source§fn eq(&self, other: &OptDirection) -> bool
fn eq(&self, other: &OptDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OptDirection
impl Serialize for OptDirection
impl StructuralPartialEq for OptDirection
Auto Trait Implementations§
impl Freeze for OptDirection
impl RefUnwindSafe for OptDirection
impl Send for OptDirection
impl Sync for OptDirection
impl Unpin for OptDirection
impl UnsafeUnpin for OptDirection
impl UnwindSafe for OptDirection
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