pub enum Coredata {
Boolean(Boolean),
Error(Statement),
Function(Function),
Integer(BigInt),
Internal(Commands),
Macro(Macro),
Null,
Pair(Rc<Sourcedata>, Rc<Sourcedata>),
String(String),
Symbol(String),
}Expand description
Core data types of the Teko machine
Variants§
Boolean(Boolean)
Denote true and false
Error(Statement)
Error type
Function(Function)
Function type
Integer(BigInt)
Integer numbers
Internal(Commands)
Internal commands (used by the implementation)
Macro(Macro)
Macro types
Null
Null (an empty list)
Pair(Rc<Sourcedata>, Rc<Sourcedata>)
A pair of data items
String(String)
String type
Symbol(String)
Symbol type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Coredata
impl RefUnwindSafe for Coredata
impl !Send for Coredata
impl !Sync for Coredata
impl Unpin for Coredata
impl UnwindSafe for Coredata
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