Struct predicates::iter::HashableInPredicate [−][src]
Predicate that returns true if variable is a member of the pre-defined
HashSet, otherwise returns false.
Note that this implementation requires Item to be Hash + Eq. The
InPredicate uses a less efficient search algorithm but only
requires Item implement PartialEq. The implementation-specific
predicates will be deprecated when Rust supports trait specialization.
This is created by the predicate::in_hash function.
Trait Implementations
impl<T: Clone> Clone for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]
impl<T: Clone> Clone for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]fn clone(&self) -> HashableInPredicate<T>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<T: PartialEq> PartialEq<HashableInPredicate<T>> for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]
impl<T: PartialEq> PartialEq<HashableInPredicate<T>> for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]fn eq(&self, other: &HashableInPredicate<T>) -> bool[src]
fn ne(&self, other: &HashableInPredicate<T>) -> bool[src]
impl<T> PredicateReflection for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]
impl<T> PredicateReflection for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]impl<T> StructuralEq for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]
impl<T> StructuralEq for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]impl<T> StructuralPartialEq for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]
impl<T> StructuralPartialEq for HashableInPredicate<T> where
T: Hash + Eq + Debug, [src]Auto Trait Implementations
impl<T> RefUnwindSafe for HashableInPredicate<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for HashableInPredicate<T> where
T: RefUnwindSafe, impl<T> Send for HashableInPredicate<T> where
T: Send,
impl<T> Send for HashableInPredicate<T> where
T: Send, impl<T> Sync for HashableInPredicate<T> where
T: Sync,
impl<T> Sync for HashableInPredicate<T> where
T: Sync, impl<T> Unpin for HashableInPredicate<T> where
T: Unpin,
impl<T> Unpin for HashableInPredicate<T> where
T: Unpin, impl<T> UnwindSafe for HashableInPredicate<T> where
T: UnwindSafe,
impl<T> UnwindSafe for HashableInPredicate<T> where
T: UnwindSafe, Blanket Implementations
impl<P, Item> PredicateBooleanExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>, [src]
impl<P, Item> PredicateBooleanExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>, [src]fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized, [src]
B: Predicate<Item>,
Self: Sized,
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized, [src]
B: Predicate<Item>,
Self: Sized,
fn not(self) -> NotPredicate<Self, Item> where
Self: Sized, [src]
Self: Sized,
impl<P, Item> PredicateNameExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>, [src]
impl<P, Item> PredicateNameExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>, [src]fn name(self, name: &'static str) -> NamePredicate<Self, Item> where
Self: Sized, [src]
Self: Sized,