Enum list_fn::List[][src]

pub enum List<F: ListFn> {
    Some(F::Item, F),
    End(F::End),
}

A list.

Variants

Some(F::Item, F)

The list has one item and a function to get a next sub list.

End(F::End)

The end of the list.

Auto Trait Implementations

impl<F> RefUnwindSafe for List<F> where
    F: RefUnwindSafe,
    <F as ListFn>::End: RefUnwindSafe,
    <F as ListFn>::Item: RefUnwindSafe

impl<F> Send for List<F> where
    F: Send,
    <F as ListFn>::End: Send,
    <F as ListFn>::Item: Send

impl<F> Sync for List<F> where
    F: Sync,
    <F as ListFn>::End: Sync,
    <F as ListFn>::Item: Sync

impl<F> Unpin for List<F> where
    F: Unpin,
    <F as ListFn>::End: Unpin,
    <F as ListFn>::Item: Unpin

impl<F> UnwindSafe for List<F> where
    F: UnwindSafe,
    <F as ListFn>::End: UnwindSafe,
    <F as ListFn>::Item: UnwindSafe

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, 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.