Struct moniker::Embed[][src]

pub struct Embed<T>(pub T);

Embed a term in a pattern

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Embed<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 Embed<T>
[src]

impl<N, T> BoundPattern<N> for Embed<T> where
    T: BoundTerm<N>, 
[src]

Alpha equivalence in a pattern context

Returns the binders in this pattern

Auto Trait Implementations

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

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