pub struct ConditionEqual<L> { /* private fields */ }Expand description
Implementations§
Source§impl<L: Language> ConditionEqual<L>
impl<L: Language> ConditionEqual<L>
Sourcepub fn new(p1: Pattern<L>, p2: Pattern<L>) -> Self
pub fn new(p1: Pattern<L>, p2: Pattern<L>) -> Self
Create a new ConditionEqual condition given two patterns.
Trait Implementations§
Source§impl<L: Clone> Clone for ConditionEqual<L>
impl<L: Clone> Clone for ConditionEqual<L>
Source§fn clone(&self) -> ConditionEqual<L>
fn clone(&self) -> ConditionEqual<L>
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<L, N> Condition<L, N> for ConditionEqual<L>
impl<L, N> Condition<L, N> for ConditionEqual<L>
Source§impl<L: Debug> Debug for ConditionEqual<L>
impl<L: Debug> Debug for ConditionEqual<L>
Source§impl<L: PartialEq> PartialEq for ConditionEqual<L>
impl<L: PartialEq> PartialEq for ConditionEqual<L>
impl<L: Eq> Eq for ConditionEqual<L>
impl<L> StructuralPartialEq for ConditionEqual<L>
Auto Trait Implementations§
impl<L> Freeze for ConditionEqual<L>
impl<L> RefUnwindSafe for ConditionEqual<L>where
L: RefUnwindSafe,
impl<L> Send for ConditionEqual<L>where
L: Send,
impl<L> Sync for ConditionEqual<L>where
L: Sync,
impl<L> Unpin for ConditionEqual<L>where
L: Unpin,
impl<L> UnwindSafe for ConditionEqual<L>where
L: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.