pub enum ExpressionBody {
Symbol(String),
Primitive(Primitive),
Period,
Assignment(String, Box<Expression>),
Procedure(SchemeProcedure),
ProcedureCall(Box<Expression>, Vec<Expression>),
Conditional(Box<(Expression, Expression, Option<Expression>)>),
Quote(Box<Datum>),
Datum(Datum),
}
Variants§
Symbol(String)
Primitive(Primitive)
Period
Assignment(String, Box<Expression>)
Procedure(SchemeProcedure)
ProcedureCall(Box<Expression>, Vec<Expression>)
Conditional(Box<(Expression, Expression, Option<Expression>)>)
Quote(Box<Datum>)
Datum(Datum)
Trait Implementations§
Source§impl Clone for ExpressionBody
impl Clone for ExpressionBody
Source§fn clone(&self) -> ExpressionBody
fn clone(&self) -> ExpressionBody
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 ExpressionBody
impl Debug for ExpressionBody
Source§impl From<Primitive> for ExpressionBody
impl From<Primitive> for ExpressionBody
Source§impl From<i32> for ExpressionBody
impl From<i32> for ExpressionBody
Source§impl PartialEq for ExpressionBody
impl PartialEq for ExpressionBody
Source§impl ToLocated for ExpressionBody
impl ToLocated for ExpressionBody
impl StructuralPartialEq for ExpressionBody
Auto Trait Implementations§
impl Freeze for ExpressionBody
impl RefUnwindSafe for ExpressionBody
impl Send for ExpressionBody
impl Sync for ExpressionBody
impl Unpin for ExpressionBody
impl UnwindSafe for ExpressionBody
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