Enum dedukti_parse::term::AppH
source · [−]pub enum AppH<A, V> {
Atom(A),
Abst(V, Option<Box<App<Self>>>, Box<App<Self>>),
Prod(Option<V>, Box<App<Self>>, Box<App<Self>>),
}Expand description
Head of an application.
Variants
Atom(A)
atom (constants, variables)
Abst(V, Option<Box<App<Self>>>, Box<App<Self>>)
abstraction (x : A => t)
Prod(Option<V>, Box<App<Self>>, Box<App<Self>>)
dependent product (x : A -> t)
Trait Implementations
Auto Trait Implementations
impl<A, V> RefUnwindSafe for AppH<A, V> where
A: RefUnwindSafe,
V: RefUnwindSafe,
impl<A, V> Send for AppH<A, V> where
A: Send,
V: Send,
impl<A, V> Sync for AppH<A, V> where
A: Sync,
V: Sync,
impl<A, V> Unpin for AppH<A, V> where
A: Unpin,
V: Unpin,
impl<A, V> UnwindSafe for AppH<A, V> where
A: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more