Enum list_fn::FlatScanState[][src]

pub enum FlatScanState<I, F> where
    I: ListFn,
    F: FlatScanFn<InputItem = I::Item>,
    I::End: ResultFn<Result = F::InputResult>, 
{ Begin { flat_scan: F, input_list: I, }, OutputList { output_list: F::OutputList, input_list: I, }, EndList(F::EndList), }

Variants

Begin
Show fields

Fields of Begin

flat_scan: Finput_list: I
OutputList
Show fields

Fields of OutputList

output_list: F::OutputListinput_list: I
EndList(F::EndList)

Trait Implementations

impl<I, F> ListFn for FlatScanState<I, F> where
    I: ListFn,
    F: FlatScanFn<InputItem = I::Item>,
    I::End: ResultFn<Result = F::InputResult>, 
[src]

type Item = <F::OutputList as ListFn>::Item

A list item type.

type End = <F::EndList as ListFn>::End

A value which is returned when the list has no more items.

fn next(self) -> ListState<Self>[src]

The main function which returns a list.

Auto Trait Implementations

impl<I, F> RefUnwindSafe for FlatScanState<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    <F as FlatScanFn>::EndList: RefUnwindSafe,
    <F as FlatScanFn>::OutputList: RefUnwindSafe

impl<I, F> Send for FlatScanState<I, F> where
    F: Send,
    I: Send,
    <F as FlatScanFn>::EndList: Send,
    <F as FlatScanFn>::OutputList: Send

impl<I, F> Sync for FlatScanState<I, F> where
    F: Sync,
    I: Sync,
    <F as FlatScanFn>::EndList: Sync,
    <F as FlatScanFn>::OutputList: Sync

impl<I, F> Unpin for FlatScanState<I, F> where
    F: Unpin,
    I: Unpin,
    <F as FlatScanFn>::EndList: Unpin,
    <F as FlatScanFn>::OutputList: Unpin

impl<I, F> UnwindSafe for FlatScanState<I, F> where
    F: UnwindSafe,
    I: UnwindSafe,
    <F as FlatScanFn>::EndList: UnwindSafe,
    <F as FlatScanFn>::OutputList: 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.