pub struct EqChain {
pub ty: Expr,
pub steps: Vec<PropEq>,
}Expand description
A chain of propositional equalities a₀ = a₁ = … = aₙ.
Useful for representing calc-block-style equality chains during
elaboration.
Fields§
§ty: ExprThe type of all elements.
steps: Vec<PropEq>The sequence of steps; steps[i].rhs == steps[i+1].lhs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EqChain
impl RefUnwindSafe for EqChain
impl Send for EqChain
impl Sync for EqChain
impl Unpin for EqChain
impl UnsafeUnpin for EqChain
impl UnwindSafe for EqChain
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