pub enum IntegerExpression {
Show 19 variants
BinaryOperator(IntegerExpressionId, Node<IntegerBinaryOperator>, IntegerExpressionId),
UnaryOperator(Node<UnaryOperator>, IntegerExpressionId),
IntegerComparison(IntegerExpressionId, Node<ComparisonOperator>, IntegerExpressionId),
RealComparison(RealExpressionId, Node<ComparisonOperator>, RealExpressionId),
StringEq(StringExpressionId, StringExpressionId),
StringNEq(StringExpressionId, StringExpressionId),
Condition(IntegerExpressionId, Span, IntegerExpressionId, Span, IntegerExpressionId),
RealCast(RealExpressionId),
Literal(i64),
VariableReference(VariableId),
NetReference(NetId),
PortReference(PortId),
ParameterReference(ParameterId),
FunctionCall(FunctionId, Vec<ExpressionId>),
Min(IntegerExpressionId, IntegerExpressionId),
Max(IntegerExpressionId, IntegerExpressionId),
Abs(IntegerExpressionId),
ParamGiven(ParameterId),
PortConnected(PortId),
}Variants§
BinaryOperator(IntegerExpressionId, Node<IntegerBinaryOperator>, IntegerExpressionId)
UnaryOperator(Node<UnaryOperator>, IntegerExpressionId)
IntegerComparison(IntegerExpressionId, Node<ComparisonOperator>, IntegerExpressionId)
RealComparison(RealExpressionId, Node<ComparisonOperator>, RealExpressionId)
StringEq(StringExpressionId, StringExpressionId)
StringNEq(StringExpressionId, StringExpressionId)
Condition(IntegerExpressionId, Span, IntegerExpressionId, Span, IntegerExpressionId)
RealCast(RealExpressionId)
Literal(i64)
VariableReference(VariableId)
NetReference(NetId)
PortReference(PortId)
ParameterReference(ParameterId)
FunctionCall(FunctionId, Vec<ExpressionId>)
Min(IntegerExpressionId, IntegerExpressionId)
Max(IntegerExpressionId, IntegerExpressionId)
Abs(IntegerExpressionId)
ParamGiven(ParameterId)
PortConnected(PortId)
Trait Implementations§
Source§impl Clone for IntegerExpression
impl Clone for IntegerExpression
Source§fn clone(&self) -> IntegerExpression
fn clone(&self) -> IntegerExpression
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 IntegerExpression
impl RefUnwindSafe for IntegerExpression
impl Send for IntegerExpression
impl Sync for IntegerExpression
impl Unpin for IntegerExpression
impl UnwindSafe for IntegerExpression
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