pub struct QuotientType {
pub base_type: Expr,
pub relation: Expr,
pub quot_type: Expr,
}Expand description
A quotient type declaration.
Fields§
§base_type: ExprType being quotiented.
relation: ExprEquivalence relation.
quot_type: ExprThe quotient type itself.
Implementations§
Source§impl QuotientType
impl QuotientType
Sourcepub fn lift_const(&self) -> Expr
pub fn lift_const(&self) -> Expr
Get the lift constant.
Sourcepub fn sound_const(&self) -> Expr
pub fn sound_const(&self) -> Expr
Get the sound constant.
Trait Implementations§
Source§impl Clone for QuotientType
impl Clone for QuotientType
Source§fn clone(&self) -> QuotientType
fn clone(&self) -> QuotientType
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 moreSource§impl Debug for QuotientType
impl Debug for QuotientType
Source§impl PartialEq for QuotientType
impl PartialEq for QuotientType
impl StructuralPartialEq for QuotientType
Auto Trait Implementations§
impl Freeze for QuotientType
impl RefUnwindSafe for QuotientType
impl Send for QuotientType
impl Sync for QuotientType
impl Unpin for QuotientType
impl UnsafeUnpin for QuotientType
impl UnwindSafe for QuotientType
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