[][src]Struct recur_fn::Closure

pub struct Closure<F>(_);

A RecurFn that uses a closure as the body.

Trait Implementations

impl<Arg, Output, F> RecurFn<Arg, Output> for Closure<F> where
    F: Fn(&dyn Fn(Arg) -> Output, Arg) -> Output, 
[src]

Auto Trait Implementations

impl<F> Send for Closure<F> where
    F: Send

impl<F> Sync for Closure<F> where
    F: Sync

impl<F> Unpin for Closure<F> where
    F: Unpin

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<Arg, Output, R> DynRecurFn<Arg, Output> for R where
    R: RecurFn<Arg, Output>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.