Enum dsntk_model::ExpressionInstance
source · pub enum ExpressionInstance {
Context(Box<Context>),
DecisionTable(Box<DecisionTable>),
FunctionDefinition(Box<FunctionDefinition>),
Invocation(Box<Invocation>),
List(Box<List>),
LiteralExpression(Box<LiteralExpression>),
Relation(Box<Relation>),
}Expand description
Enumeration of concrete instances of abstract Expression, which are:
Variants§
Context(Box<Context>)
DecisionTable(Box<DecisionTable>)
FunctionDefinition(Box<FunctionDefinition>)
Invocation(Box<Invocation>)
List(Box<List>)
LiteralExpression(Box<LiteralExpression>)
Relation(Box<Relation>)
Trait Implementations§
source§impl Clone for ExpressionInstance
impl Clone for ExpressionInstance
source§fn clone(&self) -> ExpressionInstance
fn clone(&self) -> ExpressionInstance
Returns a copy 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 ExpressionInstance
impl Debug for ExpressionInstance
source§impl PartialEq for ExpressionInstance
impl PartialEq for ExpressionInstance
source§fn eq(&self, other: &ExpressionInstance) -> bool
fn eq(&self, other: &ExpressionInstance) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExpressionInstance
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionInstance
impl Send for ExpressionInstance
impl Sync for ExpressionInstance
impl Unpin for ExpressionInstance
impl UnwindSafe for ExpressionInstance
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