Struct moniker::Binder[][src]

pub struct Binder<N>(pub FreeVar<N>);

Methods

impl<N> Binder<N>
[src]

Create a variable from a human-readable string

Trait Implementations

impl<N: Debug> Debug for Binder<N>
[src]

Formats the value using the given formatter. Read more

impl<N: Clone> Clone for Binder<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: PartialEq> PartialEq for Binder<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Eq> Eq for Binder<N>
[src]

impl<N: Hash> Hash for Binder<N>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<N: Display> Display for Binder<N>
[src]

Formats the value using the given formatter. Read more

impl<N> PartialEq<FreeVar<N>> for Binder<N> where
    N: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N> BoundPattern<N> for Binder<N> where
    N: Clone + Eq + Hash
[src]

Alpha equivalence in a pattern context

Returns the binders in this pattern

impl<N> PartialEq<Binder<N>> for Var<N> where
    N: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N> PartialEq<Var<N>> for Binder<N> where
    N: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<N> Send for Binder<N> where
    N: Send

impl<N> Sync for Binder<N> where
    N: Sync