[−][src]Enum nar::syntax::core::ast::Elim
Type for eliminations.
Variants
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]
fn try_fold_val<E, R>(
&self,
init: R,
f: impl Fn(R, &Val) -> Result<R, E> + Copy
) -> Result<R, E>
[src]
&self,
init: R,
f: impl Fn(R, &Val) -> Result<R, E> + Copy
) -> Result<R, E>
impl From<Copat<DBI, Term>> for Elim
[src]
impl From<Pat<DBI, Term>> for Elim
[src]
impl HasMeta for Elim
[src]
fn inline_meta(self, tcs: TCS) -> TCMS<Self>
[src]
impl PartialEq<Elim> for Elim
[src]
impl RedEx<Elim, Term> for Elim
[src]
fn reduce_dbi(self, subst: Rc<Subst>) -> 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,