pub enum UniverseLevel {
Zero,
Succ(Box<UniverseLevel>),
Max(Box<UniverseLevel>, Box<UniverseLevel>),
Var(String),
}Expand description
A universe level expression (Lean 4 style).
Variants§
Zero
Universe 0 (Prop)
Succ(Box<UniverseLevel>)
Successor of a universe
Max(Box<UniverseLevel>, Box<UniverseLevel>)
Maximum of two universes
Var(String)
A universe variable
Implementations§
Trait Implementations§
Source§impl Clone for UniverseLevel
impl Clone for UniverseLevel
Source§fn clone(&self) -> UniverseLevel
fn clone(&self) -> UniverseLevel
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 UniverseLevel
impl Debug for UniverseLevel
Source§impl PartialEq for UniverseLevel
impl PartialEq for UniverseLevel
impl Eq for UniverseLevel
impl StructuralPartialEq for UniverseLevel
Auto Trait Implementations§
impl Freeze for UniverseLevel
impl RefUnwindSafe for UniverseLevel
impl Send for UniverseLevel
impl Sync for UniverseLevel
impl Unpin for UniverseLevel
impl UnsafeUnpin for UniverseLevel
impl UnwindSafe for UniverseLevel
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