[−][src]Struct phreak_engine::jointest::JoinNodeTest
A test compares a field in the current WME against a field from a WME that is x steps back.
A Token chain represents a list of matches that belong together. By taking the parent token, one goes back one step into the chain. Each step may contain a WME. The JoinNodeTest defines which WME to compare against the current WME, and defines which fields in the WME's should be compared against eachother. Note that the current WME is a candidate for a token that would be at the top of the chain. This token would be at step 0. The real top token thus becomes step 1, it's parent becomes step 2, etc.
Fields
f1: JoinTestField
The field in the current WME we would like to compare.
condition_number_of_arg2: usize
Number of steps back towards the root-token in order to find the second WME.
f2: JoinTestField
The field in the second WME to compare against.
Trait Implementations
impl Debug for JoinNodeTest
[src]
impl Eq for JoinNodeTest
[src]
impl Ord for JoinNodeTest
[src]
fn cmp(&self, other: &Self) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<JoinNodeTest> for JoinNodeTest
[src]
fn eq(&self, other: &JoinNodeTest) -> bool
[src]
fn ne(&self, other: &JoinNodeTest) -> bool
[src]
impl PartialOrd<JoinNodeTest> for JoinNodeTest
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for JoinNodeTest
[src]
impl StructuralPartialEq for JoinNodeTest
[src]
Auto Trait Implementations
impl RefUnwindSafe for JoinNodeTest
impl Send for JoinNodeTest
impl Sync for JoinNodeTest
impl Unpin for JoinNodeTest
impl UnwindSafe for JoinNodeTest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,