pub enum RealExpression {
Show 14 variants
BinaryOperator(RealExpressionId, Node<RealBinaryOperator>, RealExpressionId),
Negate(Span, RealExpressionId),
Condition(IntegerExpressionId, Span, RealExpressionId, Span, RealExpressionId),
Literal(f64),
VariableReference(VariableId),
ParameterReference(ParameterId),
BranchAccess(DisciplineAccess, BranchId, u8),
Noise(NoiseSource<RealExpressionId, ()>, Option<StringLiteral>),
BuiltInFunctionCall1p(BuiltInFunctionCall1p, RealExpressionId),
BuiltInFunctionCall2p(BuiltInFunctionCall2p, RealExpressionId, RealExpressionId),
IntegerConversion(IntegerExpressionId),
Temperature,
Vt(Option<RealExpressionId>),
SimParam(StringExpressionId, Option<RealExpressionId>),
}Variants§
BinaryOperator(RealExpressionId, Node<RealBinaryOperator>, RealExpressionId)
Negate(Span, RealExpressionId)
Condition(IntegerExpressionId, Span, RealExpressionId, Span, RealExpressionId)
Literal(f64)
VariableReference(VariableId)
ParameterReference(ParameterId)
BranchAccess(DisciplineAccess, BranchId, u8)
Noise(NoiseSource<RealExpressionId, ()>, Option<StringLiteral>)
BuiltInFunctionCall1p(BuiltInFunctionCall1p, RealExpressionId)
BuiltInFunctionCall2p(BuiltInFunctionCall2p, RealExpressionId, RealExpressionId)
IntegerConversion(IntegerExpressionId)
Temperature
Vt(Option<RealExpressionId>)
SimParam(StringExpressionId, Option<RealExpressionId>)
Trait Implementations§
Source§impl Clone for RealExpression
impl Clone for RealExpression
Source§fn clone(&self) -> RealExpression
fn clone(&self) -> RealExpression
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 moreAuto Trait Implementations§
impl Freeze for RealExpression
impl RefUnwindSafe for RealExpression
impl Send for RealExpression
impl Sync for RealExpression
impl Unpin for RealExpression
impl UnwindSafe for RealExpression
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