pub enum ScoreLevel {
Hard,
Medium,
Soft,
}Expand description
Score level representing different constraint priorities
Variants§
Hard
Hard constraints - must be satisfied for feasibility
Medium
Medium constraints - secondary priority
Soft
Soft constraints - optimization objectives
Trait Implementations§
Source§impl Clone for ScoreLevel
impl Clone for ScoreLevel
Source§fn clone(&self) -> ScoreLevel
fn clone(&self) -> ScoreLevel
Returns a duplicate 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 ScoreLevel
impl Debug for ScoreLevel
Source§impl Hash for ScoreLevel
impl Hash for ScoreLevel
Source§impl PartialEq for ScoreLevel
impl PartialEq for ScoreLevel
impl Copy for ScoreLevel
impl Eq for ScoreLevel
impl StructuralPartialEq for ScoreLevel
Auto Trait Implementations§
impl Freeze for ScoreLevel
impl RefUnwindSafe for ScoreLevel
impl Send for ScoreLevel
impl Sync for ScoreLevel
impl Unpin for ScoreLevel
impl UnwindSafe for ScoreLevel
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