pub struct Constraint {
index: usize,
value: i32,
}Expand description
Convert matching pairs of blocks into constraints.
For the first digit value is -(k₁ + k₂) and second digit value is k₁ + k₂.
Fields§
§index: usize§value: i32Implementations§
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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