Struct moniker::Ignore[][src]

pub struct Ignore<T>(pub T);

Data that does not participate in name binding

This can be useful for adding information like source code locations to syntax trees.

Trait Implementations

impl<T: Debug> Debug for Ignore<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Copy> Copy for Ignore<T>
[src]

impl<T: Clone> Clone for Ignore<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Ignore<T>
[src]

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

This method tests for !=.

impl<T: Eq> Eq for Ignore<T>
[src]

impl<T: Hash> Hash for Ignore<T>
[src]

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

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

impl<T: Default> Default for Ignore<T>
[src]

Returns the "default value" for a type. Read more

impl<N, T> BoundTerm<N> for Ignore<T>
[src]

Alpha equivalence for terms

Close the term using the supplied binders

Open the term using the supplied binders

Visit each variable in the term, calling the on_var callback on each of them in turn Read more

Visit each variable in the term, calling the on_var callback on each of them in turn Read more

Returns the set of free variables in this term

impl<N, T> BoundPattern<N> for Ignore<T>
[src]

Alpha equivalence for patterns

Close the terms in the pattern using the supplied binders

Open the terms in the pattern using the supplied binders

Visit each of the binders in the term, calling the on_binder callback on each of them in turn Read more

Visit each of the binders in the term, calling the on_binder callback on each of them in turn Read more

Returns the binders in this pattern

Auto Trait Implementations

impl<T> Send for Ignore<T> where
    T: Send

impl<T> Sync for Ignore<T> where
    T: Sync