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