pub enum QuotientPrimitive {
Type,
Constructor,
Lift,
Induction,
}Expand description
Lean’s four quotient primitives, as the kernel certifies them.
Variants§
Trait Implementations§
Source§impl Clone for QuotientPrimitive
impl Clone for QuotientPrimitive
Source§fn clone(&self) -> QuotientPrimitive
fn clone(&self) -> QuotientPrimitive
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 QuotientPrimitive
impl Debug for QuotientPrimitive
Source§impl<'de> Deserialize<'de> for QuotientPrimitive
impl<'de> Deserialize<'de> for QuotientPrimitive
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QuotientPrimitive
impl PartialEq for QuotientPrimitive
Source§impl Serialize for QuotientPrimitive
impl Serialize for QuotientPrimitive
impl Copy for QuotientPrimitive
impl Eq for QuotientPrimitive
impl StructuralPartialEq for QuotientPrimitive
Auto Trait Implementations§
impl Freeze for QuotientPrimitive
impl RefUnwindSafe for QuotientPrimitive
impl Send for QuotientPrimitive
impl Sync for QuotientPrimitive
impl Unpin for QuotientPrimitive
impl UnsafeUnpin for QuotientPrimitive
impl UnwindSafe for QuotientPrimitive
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