pub enum Level {
Zero,
Const(u32),
Param(u32),
Succ(LevelId),
Max(LevelId, LevelId),
IMax(LevelId, LevelId),
}Expand description
Universe level expressions
Variants§
Zero
Zero level (Type 0 = Prop in Lean 4)
Const(u32)
Concrete level n (Type n)
Param(u32)
Level parameter (polymorphic universe variable)
Succ(LevelId)
Successor level (u + 1)
Max(LevelId, LevelId)
Maximum of two levels
IMax(LevelId, LevelId)
Impredicative maximum (like max but Type imax 0 u = Type 0)
Implementations§
Trait Implementations§
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
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