OnBoundFn

Trait OnBoundFn 

Source
pub trait OnBoundFn<N> {
    // Required method
    fn call(
        &self,
        state: ScopeState,
        bound_var: &BoundVar<N>,
    ) -> Option<FreeVar<N>>;
}

Required Methods§

Source

fn call(&self, state: ScopeState, bound_var: &BoundVar<N>) -> Option<FreeVar<N>>

Implementations on Foreign Types§

Source§

impl<N: Clone + PartialEq> OnBoundFn<N> for Vec<Vec<Binder<N>>>

Source§

fn call(&self, state: ScopeState, bound_var: &BoundVar<N>) -> Option<FreeVar<N>>

Source§

impl<N: Clone + PartialEq> OnBoundFn<N> for Vec<Binder<N>>

Source§

fn call(&self, state: ScopeState, bound_var: &BoundVar<N>) -> Option<FreeVar<N>>

Implementors§