pub enum UntypedExp {
Conditional(ConditionalExp),
Cast(Type, Box<Exp>),
Binary(AstBinaryOp, Box<Exp>, Box<Exp>),
Unary(AstUnaryOp, Box<Exp>),
Assignment(Box<Exp>, Box<Exp>),
Call(Identifier, Vec<Exp>),
Var(Identifier),
Constant(AstConst),
}Variants§
Conditional(ConditionalExp)
Cast(Type, Box<Exp>)
Binary(AstBinaryOp, Box<Exp>, Box<Exp>)
Unary(AstUnaryOp, Box<Exp>)
Assignment(Box<Exp>, Box<Exp>)
Call(Identifier, Vec<Exp>)
Var(Identifier)
Constant(AstConst)
Implementations§
Trait Implementations§
Source§impl Clone for UntypedExp
impl Clone for UntypedExp
Source§fn clone(&self) -> UntypedExp
fn clone(&self) -> UntypedExp
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 UntypedExp
impl Debug for UntypedExp
Source§impl From<Exp> for UntypedExp
impl From<Exp> for UntypedExp
Source§impl From<UntypedExp> for Exp
impl From<UntypedExp> for Exp
Source§fn from(value: UntypedExp) -> Self
fn from(value: UntypedExp) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UntypedExp
impl RefUnwindSafe for UntypedExp
impl Send for UntypedExp
impl Sync for UntypedExp
impl Unpin for UntypedExp
impl UnwindSafe for UntypedExp
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