pub struct Exprs<Operator, Expr> { /* private fields */ }Implementations§
Source§impl<Operator, Expr> Exprs<Operator, Expr>
impl<Operator, Expr> Exprs<Operator, Expr>
pub fn try_eval<Value, State>( &self, state: &State, ) -> Result<Value, EvalPolishError>
pub fn validate_arity(&self) -> Result<(), EvalPolishError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Exprs<BooleanOperator, AtomicLocationRuleExpr>
impl<'de> Deserialize<'de> for Exprs<BooleanOperator, AtomicLocationRuleExpr>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<Operator: Eq, Expr: Eq> Eq for Exprs<Operator, Expr>
Source§impl<Operator, Expr> FromIterator<Part<Operator, Expr>> for Exprs<Operator, Expr>
impl<Operator, Expr> FromIterator<Part<Operator, Expr>> for Exprs<Operator, Expr>
Source§impl<Operator, Expr, I> Index<I> for Exprs<Operator, Expr>where
I: SliceIndex<[Part<Operator, Expr>]>,
impl<Operator, Expr, I> Index<I> for Exprs<Operator, Expr>where
I: SliceIndex<[Part<Operator, Expr>]>,
Source§impl<Operator, Expr> IntoIterator for Exprs<Operator, Expr>
impl<Operator, Expr> IntoIterator for Exprs<Operator, Expr>
Source§impl<'e, Operator, Expr> IntoIterator for &'e Exprs<Operator, Expr>
impl<'e, Operator, Expr> IntoIterator for &'e Exprs<Operator, Expr>
Source§impl<Operator: PartialEq, Expr: PartialEq> PartialEq for Exprs<Operator, Expr>
impl<Operator: PartialEq, Expr: PartialEq> PartialEq for Exprs<Operator, Expr>
impl<Operator, Expr> StructuralPartialEq for Exprs<Operator, Expr>
Auto Trait Implementations§
impl<Operator, Expr> Freeze for Exprs<Operator, Expr>
impl<Operator, Expr> RefUnwindSafe for Exprs<Operator, Expr>where
Operator: RefUnwindSafe,
Expr: RefUnwindSafe,
impl<Operator, Expr> Send for Exprs<Operator, Expr>
impl<Operator, Expr> Sync for Exprs<Operator, Expr>
impl<Operator, Expr> Unpin for Exprs<Operator, Expr>
impl<Operator, Expr> UnsafeUnpin for Exprs<Operator, Expr>
impl<Operator, Expr> UnwindSafe for Exprs<Operator, Expr>where
Operator: UnwindSafe,
Expr: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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