[−][src]Struct egg::ConditionEqual
A Condition
that checks if two terms are equivalent.
This condition adds its two Applier
s to the egraph and passes
if and only if they are equivalent (in the same eclass).
Implementations
impl<L: Language> ConditionEqual<Pattern<L>, Pattern<L>>
[src]
pub fn parse(a1: &str, a2: &str) -> Self
[src]
Create a ConditionEqual by parsing two pattern strings.
This panics if the parsing fails.
Trait Implementations
impl<L, N, A1, A2> Condition<L, N> for ConditionEqual<A1, A2> where
L: Language,
N: Analysis<L>,
A1: Applier<L, N>,
A2: Applier<L, N>,
[src]
L: Language,
N: Analysis<L>,
A1: Applier<L, N>,
A2: Applier<L, N>,
Auto Trait Implementations
impl<A1, A2> RefUnwindSafe for ConditionEqual<A1, A2> where
A1: RefUnwindSafe,
A2: RefUnwindSafe,
A1: RefUnwindSafe,
A2: RefUnwindSafe,
impl<A1, A2> Send for ConditionEqual<A1, A2> where
A1: Send,
A2: Send,
A1: Send,
A2: Send,
impl<A1, A2> Sync for ConditionEqual<A1, A2> where
A1: Sync,
A2: Sync,
A1: Sync,
A2: Sync,
impl<A1, A2> Unpin for ConditionEqual<A1, A2> where
A1: Unpin,
A2: Unpin,
A1: Unpin,
A2: Unpin,
impl<A1, A2> UnwindSafe for ConditionEqual<A1, A2> where
A1: UnwindSafe,
A2: UnwindSafe,
A1: UnwindSafe,
A2: UnwindSafe,
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>,