pub struct DetailedConstraintMatch<Sc: Score> {
pub constraint_ref: ConstraintRef,
pub score: Sc,
pub justification: ConstraintJustification,
}Fields§
§constraint_ref: ConstraintRef§score: Sc§justification: ConstraintJustificationImplementations§
Source§impl<Sc: Score> DetailedConstraintMatch<Sc>
impl<Sc: Score> DetailedConstraintMatch<Sc>
pub fn new( constraint_ref: ConstraintRef, score: Sc, justification: ConstraintJustification, ) -> Self
Trait Implementations§
Source§impl<Sc: Clone + Score> Clone for DetailedConstraintMatch<Sc>
impl<Sc: Clone + Score> Clone for DetailedConstraintMatch<Sc>
Source§fn clone(&self) -> DetailedConstraintMatch<Sc>
fn clone(&self) -> DetailedConstraintMatch<Sc>
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 moreAuto Trait Implementations§
impl<Sc> Freeze for DetailedConstraintMatch<Sc>where
Sc: Freeze,
impl<Sc> !RefUnwindSafe for DetailedConstraintMatch<Sc>
impl<Sc> Send for DetailedConstraintMatch<Sc>
impl<Sc> Sync for DetailedConstraintMatch<Sc>
impl<Sc> Unpin for DetailedConstraintMatch<Sc>where
Sc: Unpin,
impl<Sc> UnsafeUnpin for DetailedConstraintMatch<Sc>where
Sc: UnsafeUnpin,
impl<Sc> !UnwindSafe for DetailedConstraintMatch<Sc>
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