Struct exprz::pattern::WildCardPattern [−][src]
This is supported on crate feature
pattern
only.Wild Card Pattern
Trait Implementations
impl<'p, W: Clone, P: Clone> Clone for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
fn clone(&self) -> WildCardPattern<'p, W, P>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'p, W: Copy, P: Copy> Copy for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
impl<'p, W: Debug, P: Debug> Debug for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
impl<'p, W: Eq, P: Eq> Eq for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
impl<'p, W: Hash, P: Hash> Hash for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'p, W: PartialEq, P: PartialEq> PartialEq<WildCardPattern<'p, W, P>> for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
fn eq(&self, other: &WildCardPattern<'p, W, P>) -> bool
[src]
fn ne(&self, other: &WildCardPattern<'p, W, P>) -> bool
[src]
impl<'p, W, P, E> Pattern<E> for WildCardPattern<'p, W, P> where
E: Expression,
W: Fn(&P::Atom) -> bool,
P: Expression,
P::Atom: PartialEq<E::Atom>,
[src]
E: Expression,
W: Fn(&P::Atom) -> bool,
P: Expression,
P::Atom: PartialEq<E::Atom>,
fn matches_atom(&self, atom: &E::Atom) -> bool
[src]
fn matches_group(
&self,
group: <E::Group as IntoIteratorGen<E>>::IterGen
) -> bool
[src]
&self,
group: <E::Group as IntoIteratorGen<E>>::IterGen
) -> bool
fn matches(&self, expr: &E) -> bool
[src]
impl<'p, W, P, E> PatternMut<E> for WildCardPattern<'p, W, P> where
E: Expression,
W: FnMut(&P::Atom) -> bool,
P: Expression,
P::Atom: PartialEq<E::Atom>,
[src]
E: Expression,
W: FnMut(&P::Atom) -> bool,
P: Expression,
P::Atom: PartialEq<E::Atom>,
fn matches_atom(&mut self, atom: &E::Atom) -> bool
[src]
fn matches_group(
&mut self,
group: <E::Group as IntoIteratorGen<E>>::IterGen
) -> bool
[src]
&mut self,
group: <E::Group as IntoIteratorGen<E>>::IterGen
) -> bool
fn matches(&mut self, expr: &E) -> bool
[src]
impl<'p, W, P> StructuralEq for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
impl<'p, W, P> StructuralPartialEq for WildCardPattern<'p, W, P> where
P: Expression,
W: FnMut(&P::Atom) -> bool,
[src]
P: Expression,
W: FnMut(&P::Atom) -> bool,
Auto Trait Implementations
impl<'p, W, P> Send for WildCardPattern<'p, W, P> where
P: Sync,
W: Send,
P: Sync,
W: Send,
impl<'p, W, P> Sync for WildCardPattern<'p, W, P> where
P: Sync,
W: Sync,
P: Sync,
W: Sync,
impl<'p, W, P> Unpin for WildCardPattern<'p, W, P> where
W: Unpin,
W: Unpin,
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,