pub struct PredicateInst {
pub path: FieldPath,
pub op: CompiledOperator,
}Fields§
§path: FieldPath§op: CompiledOperatorImplementations§
Source§impl PredicateInst
impl PredicateInst
Sourcepub fn test(&self, view: &PredicateView<'_>) -> bool
pub fn test(&self, view: &PredicateView<'_>) -> bool
Evaluate the predicate against a phase-typed view.
C7 minimal matrix — two combinations are wired today, everything
else returns false with a TODO. The full operator × field-path
matrix from 18-predicate-schema.md is a separate task (~14 ops
across a dozen field paths).
Trait Implementations§
Source§impl Clone for PredicateInst
impl Clone for PredicateInst
Source§fn clone(&self) -> PredicateInst
fn clone(&self) -> PredicateInst
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 moreSource§impl Debug for PredicateInst
impl Debug for PredicateInst
Source§impl<'de> Deserialize<'de> for PredicateInst
impl<'de> Deserialize<'de> for PredicateInst
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
Source§impl Hash for PredicateInst
impl Hash for PredicateInst
Source§impl PartialEq for PredicateInst
impl PartialEq for PredicateInst
Source§impl Serialize for PredicateInst
impl Serialize for PredicateInst
impl Eq for PredicateInst
impl StructuralPartialEq for PredicateInst
Auto Trait Implementations§
impl !Freeze for PredicateInst
impl RefUnwindSafe for PredicateInst
impl Send for PredicateInst
impl Sync for PredicateInst
impl Unpin for PredicateInst
impl UnsafeUnpin for PredicateInst
impl UnwindSafe for PredicateInst
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