pub struct ConstraintJustification {
pub entities: Vec<EntityRef>,
pub description: String,
}Expand description
Justification for why a constraint matched.
Fields§
§entities: Vec<EntityRef>Entities involved in the match.
description: StringHuman-readable description of why the constraint matched.
Implementations§
Trait Implementations§
Source§impl Clone for ConstraintJustification
impl Clone for ConstraintJustification
Source§fn clone(&self) -> ConstraintJustification
fn clone(&self) -> ConstraintJustification
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 Freeze for ConstraintJustification
impl !RefUnwindSafe for ConstraintJustification
impl Send for ConstraintJustification
impl Sync for ConstraintJustification
impl Unpin for ConstraintJustification
impl !UnwindSafe for ConstraintJustification
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