pub struct EFlintIteratorOperator;
Expand description
Defines identifiers for eFLINT operators that can (only) be used in iterator expressions.
Note that these are only Foreach, Forall and Exists. Other operators -like Count and Sum- do not quantify, but rather take a Foreach to do the quantification for them.
For non-iterator operators, see EFlintOperator
.
Implementations§
Source§impl EFlintIteratorOperator
impl EFlintIteratorOperator
Sourcepub const EXISTS: &str = "EXISTS"
pub const EXISTS: &str = "EXISTS"
Takes an instance pattern and checks if at least one of those generated is true.
Sourcepub const FORALL: &str = "FORALL"
pub const FORALL: &str = "FORALL"
Takes an instance pattern and checks if all of those generated are true.
Sourcepub const FOREACH: &str = "FOREACH"
pub const FOREACH: &str = "FOREACH"
Foreach generates an instance expression based on the given instance pattern.
Sourcepub const fn all() -> &'static [&'static str]
pub const fn all() -> &'static [&'static str]
Returns a list of all the iterator operators in eFLINT.
§Returns
A static slice with all iterator operators.
pub fn kind(op: &str) -> ExpressionKind
Trait Implementations§
Source§impl Clone for EFlintIteratorOperator
impl Clone for EFlintIteratorOperator
Source§fn clone(&self) -> EFlintIteratorOperator
fn clone(&self) -> EFlintIteratorOperator
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 EFlintIteratorOperator
impl Debug for EFlintIteratorOperator
impl Copy for EFlintIteratorOperator
Auto Trait Implementations§
impl Freeze for EFlintIteratorOperator
impl RefUnwindSafe for EFlintIteratorOperator
impl Send for EFlintIteratorOperator
impl Sync for EFlintIteratorOperator
impl Unpin for EFlintIteratorOperator
impl UnwindSafe for EFlintIteratorOperator
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