Struct exprz::pattern::BasicShapePattern [−][src]
This is supported on crate feature
pattern
only.Pattern over BasicShape
Expression.
Trait Implementations
impl<'p, P: Clone> Clone for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
fn clone(&self) -> BasicShapePattern<'p, P>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'p, P: Copy> Copy for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
impl<'p, P: Debug> Debug for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
impl<'p, P: Eq> Eq for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
impl<'p, P: Hash> Hash for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
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, P: PartialEq> PartialEq<BasicShapePattern<'p, P>> for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
fn eq(&self, other: &BasicShapePattern<'p, P>) -> bool
[src]
fn ne(&self, other: &BasicShapePattern<'p, P>) -> bool
[src]
impl<'p, P, E> Pattern<E> for BasicShapePattern<'p, P> where
E: Expression,
P: Expression<Atom = BasicShape>,
[src]
E: Expression,
P: Expression<Atom = BasicShape>,
fn matches_atom(&self, atom: &E::Atom) -> bool
[src]
fn matches_group(&self, group: <E::Group as Group<E>>::Ref) -> bool
[src]
fn matches(&self, expr: &E) -> bool
[src]
impl<'p, P> StructuralEq for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
impl<'p, P> StructuralPartialEq for BasicShapePattern<'p, P> where
P: Expression<Atom = BasicShape>,
[src]
P: Expression<Atom = BasicShape>,
Auto Trait Implementations
impl<'p, P> Send for BasicShapePattern<'p, P> where
P: Sync,
P: Sync,
impl<'p, P> Sync for BasicShapePattern<'p, P> where
P: Sync,
P: Sync,
impl<'p, P> Unpin for BasicShapePattern<'p, P>
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>,