pub enum RightHandExpression<T>where
T: TypeSet,{
Variable {
variable: Token,
},
Literal {
value: Literal<T>,
},
UnaryOperator {
name: Token,
operand: Box<Self>,
},
BinaryOperator {
name: Token,
operands: Box<[Self; 2]>,
},
FunctionCall {
name: Token,
arguments: Box<[Self]>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl<T> Clone for RightHandExpression<T>where
T: TypeSet,
impl<T> Clone for RightHandExpression<T>where
T: TypeSet,
Auto Trait Implementations§
impl<T> Freeze for RightHandExpression<T>
impl<T> RefUnwindSafe for RightHandExpression<T>
impl<T> Send for RightHandExpression<T>
impl<T> Sync for RightHandExpression<T>
impl<T> Unpin for RightHandExpression<T>
impl<T> UnwindSafe for RightHandExpression<T>
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