pub struct LeftIterator<L>(pub L);Tuple Fields§
§0: LTrait Implementations§
Source§impl<L: Clone> Clone for LeftIterator<L>
impl<L: Clone> Clone for LeftIterator<L>
Source§fn clone(&self) -> LeftIterator<L>
fn clone(&self) -> LeftIterator<L>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<L: Debug> Debug for LeftIterator<L>
impl<L: Debug> Debug for LeftIterator<L>
Source§impl<L> ExactSizeLender for LeftIterator<L>where
L: Lender + for<'next> NodeLabelsLender<'next> + ExactSizeLender,
for<'next> LenderLabel<'next, L>: Pair,
impl<L> ExactSizeLender for LeftIterator<L>where
L: Lender + for<'next> NodeLabelsLender<'next> + ExactSizeLender,
for<'next> LenderLabel<'next, L>: Pair,
Source§impl<L> Lender for LeftIterator<L>
impl<L> Lender for LeftIterator<L>
Source§fn __check_covariance<'long: 'short, 'short>(
proof: CovariantProof<<Self as Lending<'long>>::Lend>,
) -> CovariantProof<<Self as Lending<'short>>::Lend>
fn __check_covariance<'long: 'short, 'short>( proof: CovariantProof<<Self as Lending<'long>>::Lend>, ) -> CovariantProof<<Self as Lending<'short>>::Lend>
Internal method for compile-time covariance checking. Read more
Source§fn next(&mut self) -> Option<Lend<'_, Self>>
fn next(&mut self) -> Option<Lend<'_, Self>>
Yields the next lend, if any, of the lender. Read more
Source§fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
Gets the estimated minimum and maximum length of the lender. Use
.len() for the exact length if the lender
implements ExactSizeLender. Read moreSource§fn next_chunk(&mut self, chunk_size: usize) -> Chunk<'_, Self>where
Self: Sized,
fn next_chunk(&mut self, chunk_size: usize) -> Chunk<'_, Self>where
Self: Sized,
Takes the next
chunk_size lends of the lender with temporary lender
Chunk. This is equivalent to cloning the lender and calling
take(chunk_size) on it. Read moreSource§fn count(self) -> usizewhere
Self: Sized,
fn count(self) -> usizewhere
Self: Sized,
Counts the number of lends in the lender by consuming it. Read more
Source§fn last<'call>(&'call mut self) -> Option<Self::Lend>where
Self: Sized,
fn last<'call>(&'call mut self) -> Option<Self::Lend>where
Self: Sized,
Gets the last lend of the lender, if any, by consuming it. Read more
Source§fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
Advances the lender by
n lends. Read moreSource§fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
Skips
step - 1 lends between each lend of the lender. Read moreSource§fn chain<U>(self, other: U) -> Chain<Self, <U as IntoLender>::Lender>
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoLender>::Lender>
Chains the lender with another lender of the same type. Read more
Source§fn zip<U>(self, other: U) -> Zip<Self, <U as IntoLender>::Lender>where
U: IntoLender,
Self: Sized,
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoLender>::Lender>where
U: IntoLender,
Self: Sized,
Zips the lender with another lender of the same or different type. Read more
Source§fn intersperse<'call>(self, separator: Self::Lend) -> Intersperse<'call, Self>
fn intersperse<'call>(self, separator: Self::Lend) -> Intersperse<'call, Self>
Intersperses each lend of this lender with the given separator. Read more
Source§fn intersperse_with<'call, G>(
self,
separator: G,
) -> IntersperseWith<'call, Self, G>
fn intersperse_with<'call, G>( self, separator: G, ) -> IntersperseWith<'call, Self, G>
Intersperses each lend of this lender with the separator produced by
the given function. Read more
Source§fn map<F>(self, f: Covar<F>) -> Map<Self, F>
fn map<F>(self, f: Covar<F>) -> Map<Self, F>
Maps each lend of this lender using the given function. Read more
Source§fn map_into_iter<O, F>(self, f: F) -> MapIntoIter<Self, O, F>
fn map_into_iter<O, F>(self, f: F) -> MapIntoIter<Self, O, F>
Maps each lend of this lender into an owned value using the given function. Read more
Source§fn filter<P>(self, predicate: P) -> Filter<Self, P>
fn filter<P>(self, predicate: P) -> Filter<Self, P>
Filters this lender using the given predicate. Read more
Source§fn filter_map<F>(self, f: Covar<F>) -> FilterMap<Self, F>
fn filter_map<F>(self, f: Covar<F>) -> FilterMap<Self, F>
Filters and maps this lender using the given function. Read more
Source§fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
Enumerates this lender. Each lend is paired with its zero-based index. Read more
Source§fn peekable<'call>(self) -> Peekable<'call, Self>where
Self: Sized,
fn peekable<'call>(self) -> Peekable<'call, Self>where
Self: Sized,
Makes this lender peekable, so that it is possible to peek at the next
lend without consuming it. Read more
Source§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
Skips the first contiguous sequence of lends of this lender that
satisfy the given predicate. Read more
Source§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
Takes the first contiguous sequence of lends of this lender that
satisfy the given predicate. Read more
Source§fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
Skips the first
n lends of this lender. Read moreSource§fn take(self, n: usize) -> Take<Self>where
Self: Sized,
fn take(self, n: usize) -> Take<Self>where
Self: Sized,
Takes the first
n lends of this lender. Read moreSource§fn mutate<F>(self, f: F) -> Mutate<Self, F>
fn mutate<F>(self, f: F) -> Mutate<Self, F>
Mutates each lend with the given function. Read more
Source§fn collect<B>(self) -> Bwhere
Self: Sized,
B: FromLender<Self>,
fn collect<B>(self) -> Bwhere
Self: Sized,
B: FromLender<Self>,
Source§fn try_collect<'a, B>(
&'a mut self,
) -> <<Self::Lend as Try>::Residual as Residual<B>>::TryType
fn try_collect<'a, B>( &'a mut self, ) -> <<Self::Lend as Try>::Residual as Residual<B>>::TryType
Source§fn collect_into<E>(self, collection: &mut E) -> &mut Ewhere
Self: Sized,
E: ExtendLender<Self>,
fn collect_into<E>(self, collection: &mut E) -> &mut Ewhere
Self: Sized,
E: ExtendLender<Self>,
Source§fn is_partitioned<P>(self, predicate: P) -> bool
fn is_partitioned<P>(self, predicate: P) -> bool
Source§fn try_for_each<F, R>(&mut self, f: F) -> R
fn try_for_each<F, R>(&mut self, f: F) -> R
Source§fn try_reduce<T, F, R>(
self,
f: F,
) -> <<R as Try>::Residual as Residual<Option<T>>>::TryType
fn try_reduce<T, F, R>( self, f: F, ) -> <<R as Try>::Residual as Residual<Option<T>>>::TryType
Source§fn try_find<F, R>(
&mut self,
f: F,
) -> <<R as Try>::Residual as Residual<Option<Self::Lend>>>::TryType
fn try_find<F, R>( &mut self, f: F, ) -> <<R as Try>::Residual as Residual<Option<Self::Lend>>>::TryType
Source§fn max_by_key<B, T, F>(self, f: F) -> Option<T>
fn max_by_key<B, T, F>(self, f: F) -> Option<T>
Source§fn min_by_key<B, T, F>(self, f: F) -> Option<T>
fn min_by_key<B, T, F>(self, f: F) -> Option<T>
Source§fn unzip<ExtA, ExtB>(self) -> (ExtA, ExtB)where
Self: Sized,
Self::Lend: for<'all> TupleLend<'all>,
ExtA: Default + ExtendLender<FirstShunt<Self>>,
ExtB: Default + ExtendLender<SecondShunt<Self>>,
fn unzip<ExtA, ExtB>(self) -> (ExtA, ExtB)where
Self: Sized,
Self::Lend: for<'all> TupleLend<'all>,
ExtA: Default + ExtendLender<FirstShunt<Self>>,
ExtB: Default + ExtendLender<SecondShunt<Self>>,
Source§fn product<P>(self) -> Pwhere
Self: Sized,
P: ProductLender<Self>,
fn product<P>(self) -> Pwhere
Self: Sized,
P: ProductLender<Self>,
Source§fn cmp<L>(self, other: L) -> Orderingwhere
L: IntoLender,
<L as IntoLender>::Lender: for<'all> Lending<'all, Lend = Self::Lend>,
Self::Lend: for<'all> Ord,
Self: Sized,
fn cmp<L>(self, other: L) -> Orderingwhere
L: IntoLender,
<L as IntoLender>::Lender: for<'all> Lending<'all, Lend = Self::Lend>,
Self::Lend: for<'all> Ord,
Self: Sized,
Source§fn cmp_by<L, F>(self, other: L, cmp: F) -> Orderingwhere
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> Ordering,
fn cmp_by<L, F>(self, other: L, cmp: F) -> Orderingwhere
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> Ordering,
Source§fn partial_cmp<L>(self, other: L) -> Option<Ordering>where
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn partial_cmp<L>(self, other: L) -> Option<Ordering>where
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn partial_cmp_by<L, F>(self, other: L, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> Option<Ordering>,
fn partial_cmp_by<L, F>(self, other: L, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> Option<Ordering>,
Source§fn eq<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialEq<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn eq<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialEq<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn eq_by<L, F>(self, other: L, eq: F) -> boolwhere
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> bool,
fn eq_by<L, F>(self, other: L, eq: F) -> boolwhere
Self: Sized,
L: IntoLender,
F: for<'all> FnMut(Self::Lend, <<L as IntoLender>::Lender as Lending<'all>>::Lend) -> bool,
Source§fn ne<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialEq<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn ne<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialEq<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn lt<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn lt<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn le<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn le<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn gt<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn gt<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn ge<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
fn ge<L>(self, other: L) -> boolwhere
L: IntoLender,
Self::Lend: for<'all> PartialOrd<<<L as IntoLender>::Lender as Lending<'all>>::Lend>,
Self: Sized,
Source§fn is_sorted_by<T, F>(self, compare: F) -> bool
fn is_sorted_by<T, F>(self, compare: F) -> bool
Source§fn is_sorted_by_key<F, K>(self, f: F) -> bool
fn is_sorted_by_key<F, K>(self, f: F) -> bool
Source§fn lender_by_ref<'this>(self) -> FromIterRef<Iter<'this, Self>>
fn lender_by_ref<'this>(self) -> FromIterRef<Iter<'this, Self>>
Source§fn chunky(self, chunk_size: usize) -> Chunky<Self>where
Self: Sized + ExactSizeLender,
fn chunky(self, chunk_size: usize) -> Chunky<Self>where
Self: Sized + ExactSizeLender,
A lending replacement for
Iterator::array_chunks. Read moreSource§fn convert<E>(self) -> Convert<E, Self>where
Self: Sized,
fn convert<E>(self) -> Convert<E, Self>where
Self: Sized,
Converts a
Lender whose lend type is Result<T, E> into a
FallibleLender with error type E and lend type T. Read moreSource§fn into_fallible(self) -> IntoFallible<Self>where
Self: Sized,
fn into_fallible(self) -> IntoFallible<Self>where
Self: Sized,
Converts a
Lender into a FallibleLender
by wrapping into Result<Lend<'_, Self>, Infallible> where
Infallible is an error that can never actually happen. Read moreSource§impl<'succ, L> Lending<'succ> for LeftIterator<L>
impl<'succ, L> Lending<'succ> for LeftIterator<L>
Source§type Lend = (usize, <LeftIterator<L> as NodeLabelsLender<'succ>>::IntoIterator)
type Lend = (usize, <LeftIterator<L> as NodeLabelsLender<'succ>>::IntoIterator)
The type being lent.
Source§impl<'succ, L> NodeLabelsLender<'succ> for LeftIterator<L>
impl<'succ, L> NodeLabelsLender<'succ> for LeftIterator<L>
type Label = <<L as NodeLabelsLender<'succ>>::Label as Pair>::Left
type IntoIterator = IntoLeftSucc<<L as NodeLabelsLender<'succ>>::IntoIterator>
Source§fn into_labeled_pairs<'a>(self) -> IntoLabeledPairs<'a, Self> ⓘ
fn into_labeled_pairs<'a>(self) -> IntoLabeledPairs<'a, Self> ⓘ
Source§impl<L: Ord> Ord for LeftIterator<L>
impl<L: Ord> Ord for LeftIterator<L>
Source§fn cmp(&self, other: &LeftIterator<L>) -> Ordering
fn cmp(&self, other: &LeftIterator<L>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<L: PartialEq> PartialEq for LeftIterator<L>
impl<L: PartialEq> PartialEq for LeftIterator<L>
Source§impl<L: PartialOrd> PartialOrd for LeftIterator<L>
impl<L: PartialOrd> PartialOrd for LeftIterator<L>
impl<L: Eq> Eq for LeftIterator<L>
impl<L> SortedLender for LeftIterator<L>where
L: Lender + for<'next> NodeLabelsLender<'next> + SortedLender,
for<'next> LenderLabel<'next, L>: Pair,
impl<L> StructuralPartialEq for LeftIterator<L>
Auto Trait Implementations§
impl<L> Freeze for LeftIterator<L>where
L: Freeze,
impl<L> RefUnwindSafe for LeftIterator<L>where
L: RefUnwindSafe,
impl<L> Send for LeftIterator<L>where
L: Send,
impl<L> Sync for LeftIterator<L>where
L: Sync,
impl<L> Unpin for LeftIterator<L>where
L: Unpin,
impl<L> UnsafeUnpin for LeftIterator<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for LeftIterator<L>where
L: 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<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
Source§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
Source§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<L> IntoLender for Lwhere
L: Lender,
impl<L> IntoLender for Lwhere
L: Lender,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
Source§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.