pub struct PropEq {
pub ty: Expr,
pub lhs: Expr,
pub rhs: Expr,
}Expand description
Propositional equality record, carrying the type and both sides.
Used to represent equality propositions a = b : α as data structures
during elaboration and pretty-printing.
Fields§
§ty: ExprThe common type of both sides.
lhs: ExprThe left-hand side.
rhs: ExprThe right-hand side.
Implementations§
Trait Implementations§
impl Eq for PropEq
impl StructuralPartialEq for PropEq
Auto Trait Implementations§
impl Freeze for PropEq
impl RefUnwindSafe for PropEq
impl Send for PropEq
impl Sync for PropEq
impl Unpin for PropEq
impl UnsafeUnpin for PropEq
impl UnwindSafe for PropEq
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