Enum list_fn::FlatScanState
source · 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§
Trait Implementations§
source§impl<I, F> ListFn for FlatScanState<I, F>where
I: ListFn,
F: FlatScanFn<InputItem = I::Item>,
I::End: ResultFn<Result = F::InputResult>,
impl<I, F> ListFn for FlatScanState<I, F>where I: ListFn, F: FlatScanFn<InputItem = I::Item>, I::End: ResultFn<Result = F::InputResult>,
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<L> Filter for Lwhere
L: ListFn,
impl<L> Filter for Lwhere L: ListFn,
fn filter<F: FilterFn<Input = Self::Item>>( self, f: F ) -> FlatMapList<Self, FilterWrap<F>>
source§impl<S> FlatScan for Swhere
S: ListFn,
impl<S> FlatScan for Swhere S: ListFn,
fn flat_scan<F>(self, flat_scan: F) -> FlatScanState<Self, F>where F: FlatScanFn<InputItem = Self::Item>, Self::End: ResultFn<Result = F::InputResult>,
source§impl<S> Iter for Swhere
S: ListFn<End = S>,
impl<S> Iter for Swhere S: ListFn<End = S>,
source§fn iter(self) -> ListIterator<Self> ⓘ
fn iter(self) -> ListIterator<Self> ⓘ
Converts a list to an iterator.