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 in a term context

Returns the set of free variables in this term

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

Alpha equivalence in a pattern context

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