pub struct PartialConstraint<T>(pub Expression<T>, pub WeightedRelation);Expand description
This is an intermediate type used in the syntactic sugar for specifying constraints. You should not use it directly.
Tuple Fields§
§0: Expression<T>§1: WeightedRelationTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PartialConstraint<T>
impl<T> RefUnwindSafe for PartialConstraint<T>where
T: RefUnwindSafe,
impl<T> Send for PartialConstraint<T>where
T: Send,
impl<T> Sync for PartialConstraint<T>where
T: Sync,
impl<T> Unpin for PartialConstraint<T>where
T: Unpin,
impl<T> UnwindSafe for PartialConstraint<T>where
T: UnwindSafe,
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