Struct casuarius::PartialConstraint
source · [−]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: WeightedRelation
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more