[][src]Enum nar::syntax::core::ast::Elim

pub enum Elim {
    App(Box<Term>),
    Proj(String),
}

Type for eliminations.

Variants

App(Box<Term>)
Proj(String)

Methods

impl Elim[src]

pub fn app(term: Term) -> Self[src]

pub fn is_proj(&self) -> bool[src]

pub fn into_app(self) -> Term[src]

pub fn try_into_app(self) -> Result<Term, String>[src]

Trait Implementations

impl Clone for Elim[src]

impl DeBruijn for Elim[src]

impl Debug for Elim[src]

impl Display for Elim[src]

impl Eq for Elim[src]

impl FoldVal for Elim[src]

impl From<Copat<DBI, Term>> for Elim[src]

impl From<Pat<DBI, Term>> for Elim[src]

impl HasMeta for Elim[src]

impl PartialEq<Elim> for Elim[src]

impl RedEx<Elim, Term> for Elim[src]

impl StructuralEq for Elim[src]

impl StructuralPartialEq for Elim[src]

impl Unify for Elim[src]

Auto Trait Implementations

impl RefUnwindSafe for Elim

impl Send for Elim

impl Sync for Elim

impl Unpin for Elim

impl UnwindSafe for Elim

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.