pub enum Literal {
Type,
Help(Ident),
NumTypeU60,
NumTypeF60,
Char(char),
NumU60(u64),
NumU120(u128),
NumF60(u64),
Nat(u128),
String(String),
}
Variants§
Type
The universe of types (e.g. Type)
Help(Ident)
The help operator that prints the context and the goal (e.g. ?)
NumTypeU60
The type literal of 60 bit numbers (e.g. 2 : U60)
NumTypeF60
Char(char)
NumU60(u64)
A 60 bit number literal (e.g 32132)
NumU120(u128)
NumF60(u64)
Nat(u128)
String(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnwindSafe for Literal
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