Enum list_fn::ListState[][src]

pub enum ListState<F: ListFn> {
    Some(F::Item, F),
    End(F::End),
}
Expand description

A list.

Variants

Some(F::Item, F)
Expand description

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

End(F::End)
Expand description

The end of the list.

Auto Trait Implementations

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

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

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

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

impl<F> UnwindSafe for ListState<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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.