pub struct CongrHypothesis {
pub lhs: Expr,
pub rhs: Expr,
pub is_heq: bool,
}Expand description
A hypothesis in a congruence lemma.
Records the type of an equality hypothesis that must be provided.
Fields§
§lhs: ExprLeft-hand side of the equality.
rhs: ExprRight-hand side of the equality.
is_heq: boolWhether this is a heterogeneous equality.
Implementations§
Trait Implementations§
Source§impl Clone for CongrHypothesis
impl Clone for CongrHypothesis
Source§fn clone(&self) -> CongrHypothesis
fn clone(&self) -> CongrHypothesis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CongrHypothesis
impl RefUnwindSafe for CongrHypothesis
impl Send for CongrHypothesis
impl Sync for CongrHypothesis
impl Unpin for CongrHypothesis
impl UnsafeUnpin for CongrHypothesis
impl UnwindSafe for CongrHypothesis
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