pub enum Exp<Identifier> {
Bool(Box<BoolExp<Identifier>>),
Int(Box<IntExp<Identifier>>),
Set(Box<SetExp<Identifier>>),
Var(VarRef<Identifier>),
}Expand description
Expression of any type
Variants§
Bool(Box<BoolExp<Identifier>>)
A Boolean expression
Int(Box<IntExp<Identifier>>)
An integer expression
Set(Box<SetExp<Identifier>>)
An set of integers expression
Var(VarRef<Identifier>)
Reference to a variable or array access
Trait Implementations§
impl<Identifier> StructuralPartialEq for Exp<Identifier>
Auto Trait Implementations§
impl<Identifier> Freeze for Exp<Identifier>where
Identifier: Freeze,
impl<Identifier> RefUnwindSafe for Exp<Identifier>where
Identifier: RefUnwindSafe,
impl<Identifier> Send for Exp<Identifier>where
Identifier: Send,
impl<Identifier> Sync for Exp<Identifier>where
Identifier: Sync,
impl<Identifier> Unpin for Exp<Identifier>where
Identifier: Unpin,
impl<Identifier> UnwindSafe for Exp<Identifier>where
Identifier: UnwindSafe,
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