pub struct RangeInclusive<Idx> { /* private fields */ }Expand description
A range bounded inclusively below and above (start..=end).
The RangeInclusive start..=end contains all values with x >= start
and x <= end. It is empty unless start <= end.
This iterator is fused, but the specific values of start and end after
iteration has finished are unspecified other than that .is_empty()
will return true once no more values will be produced.
§Examples
The start..=end syntax is a RangeInclusive:
assert_eq!((3..=5), std::ops::RangeInclusive::new(3, 5));
assert_eq!(3 + 4 + 5, (3..=5).sum());let arr = [0, 1, 2, 3, 4];
assert_eq!(arr[ ..  ], [0, 1, 2, 3, 4]);
assert_eq!(arr[ .. 3], [0, 1, 2      ]);
assert_eq!(arr[ ..=3], [0, 1, 2, 3   ]);
assert_eq!(arr[1..  ], [   1, 2, 3, 4]);
assert_eq!(arr[1.. 3], [   1, 2      ]);
assert_eq!(arr[1..=3], [   1, 2, 3   ]); // This is a `RangeInclusive`Implementations§
Source§impl<Idx> RangeInclusive<Idx>
 
impl<Idx> RangeInclusive<Idx>
1.27.0 (const: 1.32.0) · Sourcepub const fn new(start: Idx, end: Idx) -> RangeInclusive<Idx> ⓘ
 
pub const fn new(start: Idx, end: Idx) -> RangeInclusive<Idx> ⓘ
Creates a new inclusive range. Equivalent to writing start..=end.
§Examples
use std::ops::RangeInclusive;
assert_eq!(3..=5, RangeInclusive::new(3, 5));1.27.0 (const: 1.32.0) · Sourcepub const fn start(&self) -> &Idx
 
pub const fn start(&self) -> &Idx
Returns the lower bound of the range (inclusive).
When using an inclusive range for iteration, the values of start() and
end() are unspecified after the iteration ended. To determine
whether the inclusive range is empty, use the is_empty() method
instead of comparing start() > end().
Note: the value returned by this method is unspecified after the range has been iterated to exhaustion.
§Examples
assert_eq!((3..=5).start(), &3);1.27.0 (const: 1.32.0) · Sourcepub const fn end(&self) -> &Idx
 
pub const fn end(&self) -> &Idx
Returns the upper bound of the range (inclusive).
When using an inclusive range for iteration, the values of start()
and end() are unspecified after the iteration ended. To determine
whether the inclusive range is empty, use the is_empty() method
instead of comparing start() > end().
Note: the value returned by this method is unspecified after the range has been iterated to exhaustion.
§Examples
assert_eq!((3..=5).end(), &5);1.27.0 (const: unstable) · Sourcepub fn into_inner(self) -> (Idx, Idx)
 
pub fn into_inner(self) -> (Idx, Idx)
Destructures the RangeInclusive into (lower bound, upper (inclusive) bound).
Note: the value returned by this method is unspecified after the range has been iterated to exhaustion.
§Examples
assert_eq!((3..=5).into_inner(), (3, 5));Source§impl<Idx> RangeInclusive<Idx>where
    Idx: PartialOrd,
 
impl<Idx> RangeInclusive<Idx>where
    Idx: PartialOrd,
1.35.0 · Sourcepub fn contains<U>(&self, item: &U) -> bool
 
pub fn contains<U>(&self, item: &U) -> bool
Returns true if item is contained in the range.
§Examples
assert!(!(3..=5).contains(&2));
assert!( (3..=5).contains(&3));
assert!( (3..=5).contains(&4));
assert!( (3..=5).contains(&5));
assert!(!(3..=5).contains(&6));
assert!( (3..=3).contains(&3));
assert!(!(3..=2).contains(&3));
assert!( (0.0..=1.0).contains(&1.0));
assert!(!(0.0..=1.0).contains(&f32::NAN));
assert!(!(0.0..=f32::NAN).contains(&0.0));
assert!(!(f32::NAN..=1.0).contains(&1.0));This method always returns false after iteration has finished:
let mut r = 3..=5;
assert!(r.contains(&3) && r.contains(&5));
for _ in r.by_ref() {}
// Precise field values are unspecified here
assert!(!r.contains(&3) && !r.contains(&5));1.47.0 · Sourcepub fn is_empty(&self) -> bool
 
pub fn is_empty(&self) -> bool
Returns true if the range contains no items.
§Examples
assert!(!(3..=5).is_empty());
assert!(!(3..=3).is_empty());
assert!( (3..=2).is_empty());The range is empty if either side is incomparable:
assert!(!(3.0..=5.0).is_empty());
assert!( (3.0..=f32::NAN).is_empty());
assert!( (f32::NAN..=5.0).is_empty());This method returns true after iteration has finished:
let mut r = 3..=5;
for _ in r.by_ref() {}
// Precise field values are unspecified here
assert!(r.is_empty());Trait Implementations§
Source§impl<A> Arbitrary for RangeInclusive<A>where
    A: PartialOrd + Arbitrary,
 
impl<A> Arbitrary for RangeInclusive<A>where
    A: PartialOrd + Arbitrary,
Source§type Parameters = (<A as Arbitrary>::Parameters, <A as Arbitrary>::Parameters)
 
type Parameters = (<A as Arbitrary>::Parameters, <A as Arbitrary>::Parameters)
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<<(A, A) as Arbitrary>::Strategy, fn((A, A)) -> RangeInclusive<A>>
 
type Strategy = Map<<(A, A) as Arbitrary>::Strategy, fn((A, A)) -> RangeInclusive<A>>
Strategy used to generate values of type Self.Source§fn arbitrary_with(
    args: <RangeInclusive<A> as Arbitrary>::Parameters,
) -> <RangeInclusive<A> as Arbitrary>::Strategy ⓘ
 
fn arbitrary_with( args: <RangeInclusive<A> as Arbitrary>::Parameters, ) -> <RangeInclusive<A> as Arbitrary>::Strategy ⓘ
Source§impl<A> ArbitraryF1<A> for RangeInclusive<A>where
    A: Debug + PartialOrd,
 
impl<A> ArbitraryF1<A> for RangeInclusive<A>where
    A: Debug + PartialOrd,
Source§type Parameters = ()
 
type Parameters = ()
lift1_with accepts for
configuration of the lifted and generated Strategy. Parameters
must implement Default.Source§fn lift1_with<S>(
    base: S,
    _args: <RangeInclusive<A> as ArbitraryF1<A>>::Parameters,
) -> BoxedStrategy<RangeInclusive<A>>where
    S: Strategy<Value = A> + 'static,
 
fn lift1_with<S>(
    base: S,
    _args: <RangeInclusive<A> as ArbitraryF1<A>>::Parameters,
) -> BoxedStrategy<RangeInclusive<A>>where
    S: Strategy<Value = A> + 'static,
1.26.0 · Source§impl<Idx> Clone for RangeInclusive<Idx>where
    Idx: Clone,
 
impl<Idx> Clone for RangeInclusive<Idx>where
    Idx: Clone,
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<C1, C2> ContainsToken<C1> for RangeInclusive<C2>
 
impl<C1, C2> ContainsToken<C1> for RangeInclusive<C2>
Source§fn contains_token(&self, token: C1) -> bool
 
fn contains_token(&self, token: C1) -> bool
1.26.0 · Source§impl<Idx> Debug for RangeInclusive<Idx>where
    Idx: Debug,
 
impl<Idx> Debug for RangeInclusive<Idx>where
    Idx: Debug,
Source§impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx>where
    Idx: Deserialize<'de>,
 
impl<'de, Idx> Deserialize<'de> for RangeInclusive<Idx>where
    Idx: Deserialize<'de>,
Source§fn deserialize<D>(
    deserializer: D,
) -> Result<RangeInclusive<Idx>, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D,
) -> Result<RangeInclusive<Idx>, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
1.26.0 · Source§impl<A> DoubleEndedIterator for RangeInclusive<A>where
    A: Step,
 
impl<A> DoubleEndedIterator for RangeInclusive<A>where
    A: Step,
Source§fn next_back(&mut self) -> Option<A>
 
fn next_back(&mut self) -> Option<A>
Source§fn nth_back(&mut self, n: usize) -> Option<A>
 
fn nth_back(&mut self, n: usize) -> Option<A>
nth element from the end of the iterator. Read moreSource§fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> Rwhere
    RangeInclusive<A>: Sized,
    F: FnMut(B, <RangeInclusive<A> as Iterator>::Item) -> R,
    R: Try<Output = B>,
 
fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> Rwhere
    RangeInclusive<A>: Sized,
    F: FnMut(B, <RangeInclusive<A> as Iterator>::Item) -> R,
    R: Try<Output = B>,
Iterator::try_fold(): it takes
elements starting from the back of the iterator. Read moreSource§fn rfold<AAA, FFF>(self, init: AAA, fold: FFF) -> AAA
 
fn rfold<AAA, FFF>(self, init: AAA, fold: FFF) -> AAA
1.26.0 · Source§impl ExactSizeIterator for RangeInclusive<i16>
 
impl ExactSizeIterator for RangeInclusive<i16>
1.26.0 · Source§impl ExactSizeIterator for RangeInclusive<i8>
 
impl ExactSizeIterator for RangeInclusive<i8>
1.26.0 · Source§impl ExactSizeIterator for RangeInclusive<u16>
 
impl ExactSizeIterator for RangeInclusive<u16>
1.26.0 · Source§impl ExactSizeIterator for RangeInclusive<u8>
 
impl ExactSizeIterator for RangeInclusive<u8>
Source§impl<T> From<RangeInclusive<T>> for RangeInclusive<T>
 
impl<T> From<RangeInclusive<T>> for RangeInclusive<T>
Source§fn from(value: RangeInclusive<T>) -> RangeInclusive<T> ⓘ
 
fn from(value: RangeInclusive<T>) -> RangeInclusive<T> ⓘ
Source§impl<T> From<RangeInclusive<T>> for RangeInclusive<T>
 
impl<T> From<RangeInclusive<T>> for RangeInclusive<T>
Source§fn from(value: RangeInclusive<T>) -> RangeInclusive<T>
 
fn from(value: RangeInclusive<T>) -> RangeInclusive<T>
Source§impl<X> From<RangeInclusive<X>> for Uniform<X>where
    X: SampleUniform,
 
impl<X> From<RangeInclusive<X>> for Uniform<X>where
    X: SampleUniform,
Source§fn from(r: RangeInclusive<X>) -> Uniform<X>
 
fn from(r: RangeInclusive<X>) -> Uniform<X>
Source§impl From<RangeInclusive<i64>> for ValueParser
Create an i64 ValueParser from a N..=M range
 
impl From<RangeInclusive<i64>> for ValueParser
Create an i64 ValueParser from a N..=M range
See RangedI64ValueParser for more control over the output type.
See also RangedU64ValueParser
§Examples
let mut cmd = clap::Command::new("raw")
    .arg(
        clap::Arg::new("port")
            .long("port")
            .value_parser(3000..=4000)
            .action(clap::ArgAction::Set)
            .required(true)
    );
let m = cmd.try_get_matches_from_mut(["cmd", "--port", "3001"]).unwrap();
let port: i64 = *m.get_one("port")
    .expect("required");
assert_eq!(port, 3001);Source§fn from(value: RangeInclusive<i64>) -> ValueParser
 
fn from(value: RangeInclusive<i64>) -> ValueParser
Source§impl From<RangeInclusive<usize>> for SizeRange
Given low ..= high, then a size range [low, high] is the result.
 
impl From<RangeInclusive<usize>> for SizeRange
Given low ..= high, then a size range [low, high] is the result.
Source§impl From<RangeInclusive<usize>> for ValueRange
 
impl From<RangeInclusive<usize>> for ValueRange
Source§fn from(range: RangeInclusive<usize>) -> ValueRange
 
fn from(range: RangeInclusive<usize>) -> ValueRange
Source§impl GetDisjointMutIndex for RangeInclusive<usize>
 
impl GetDisjointMutIndex for RangeInclusive<usize>
Source§fn is_in_bounds(&self, len: usize) -> bool
 
fn is_in_bounds(&self, len: usize) -> bool
get_disjoint_mut_helpers)true if self is in bounds for len slice elements.Source§fn is_overlapping(&self, other: &RangeInclusive<usize>) -> bool
 
fn is_overlapping(&self, other: &RangeInclusive<usize>) -> bool
get_disjoint_mut_helpers)1.26.0 · Source§impl<Idx> Hash for RangeInclusive<Idx>where
    Idx: Hash,
 
impl<Idx> Hash for RangeInclusive<Idx>where
    Idx: Hash,
Source§impl Index<RangeInclusive<usize>> for ByteString
 
impl Index<RangeInclusive<usize>> for ByteString
Source§impl Index<RangeInclusive<usize>> for UninitSlice
 
impl Index<RangeInclusive<usize>> for UninitSlice
Source§type Output = UninitSlice
 
type Output = UninitSlice
Source§fn index(&self, index: RangeInclusive<usize>) -> &UninitSlice
 
fn index(&self, index: RangeInclusive<usize>) -> &UninitSlice
container[index]) operation. Read moreSource§impl IndexMut<RangeInclusive<usize>> for ByteString
 
impl IndexMut<RangeInclusive<usize>> for ByteString
Source§impl IndexMut<RangeInclusive<usize>> for UninitSlice
 
impl IndexMut<RangeInclusive<usize>> for UninitSlice
Source§fn index_mut(&mut self, index: RangeInclusive<usize>) -> &mut UninitSlice
 
fn index_mut(&mut self, index: RangeInclusive<usize>) -> &mut UninitSlice
container[index]) operation. Read moreSource§impl<T> IntoBounds<T> for RangeInclusive<T>
 
impl<T> IntoBounds<T> for RangeInclusive<T>
Source§impl<T> IntoParallelIterator for RangeInclusive<T>where
    Iter<T>: ParallelIterator,
Implemented for ranges of all primitive integer types and char.
 
impl<T> IntoParallelIterator for RangeInclusive<T>where
    Iter<T>: ParallelIterator,
Implemented for ranges of all primitive integer types and char.
Source§type Item = <Iter<T> as ParallelIterator>::Item
 
type Item = <Iter<T> as ParallelIterator>::Item
Source§fn into_par_iter(self) -> <RangeInclusive<T> as IntoParallelIterator>::Iter ⓘ
 
fn into_par_iter(self) -> <RangeInclusive<T> as IntoParallelIterator>::Iter ⓘ
self into a parallel iterator. Read more1.26.0 · Source§impl<A> Iterator for RangeInclusive<A>where
    A: Step,
 
impl<A> Iterator for RangeInclusive<A>where
    A: Step,
Source§fn size_hint(&self) -> (usize, Option<usize>)
 
fn size_hint(&self) -> (usize, Option<usize>)
Source§fn count(self) -> usize
 
fn count(self) -> usize
Source§fn try_fold<B, F, R>(&mut self, init: B, f: F) -> Rwhere
    RangeInclusive<A>: Sized,
    F: FnMut(B, <RangeInclusive<A> as Iterator>::Item) -> R,
    R: Try<Output = B>,
 
fn try_fold<B, F, R>(&mut self, init: B, f: F) -> Rwhere
    RangeInclusive<A>: Sized,
    F: FnMut(B, <RangeInclusive<A> as Iterator>::Item) -> R,
    R: Try<Output = B>,
Source§fn fold<AAA, FFF>(self, init: AAA, fold: FFF) -> AAA
 
fn fold<AAA, FFF>(self, init: AAA, fold: FFF) -> AAA
Source§fn next_chunk<const N: usize>(
    &mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
    Self: Sized,
 
fn next_chunk<const N: usize>(
    &mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
    Self: Sized,
iter_next_chunk)N values. Read moreSource§fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
 
fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
iter_advance_by)n elements. Read more1.28.0 · Source§fn step_by(self, step: usize) -> StepBy<Self> ⓘwhere
    Self: Sized,
 
fn step_by(self, step: usize) -> StepBy<Self> ⓘwhere
    Self: Sized,
1.0.0 · Source§fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> ⓘ
 
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter> ⓘ
1.0.0 · Source§fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> ⓘwhere
    Self: Sized,
    U: IntoIterator,
 
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter> ⓘwhere
    Self: Sized,
    U: IntoIterator,
Source§fn intersperse(self, separator: Self::Item) -> Intersperse<Self> ⓘ
 
fn intersperse(self, separator: Self::Item) -> Intersperse<Self> ⓘ
iter_intersperse)separator between adjacent
items of the original iterator. Read moreSource§fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G> ⓘ
 
fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G> ⓘ
iter_intersperse)separator
between adjacent items of the original iterator. Read more1.0.0 · Source§fn map<B, F>(self, f: F) -> Map<Self, F> ⓘ
 
fn map<B, F>(self, f: F) -> Map<Self, F> ⓘ
1.0.0 · Source§fn filter<P>(self, predicate: P) -> Filter<Self, P> ⓘ
 
fn filter<P>(self, predicate: P) -> Filter<Self, P> ⓘ
1.0.0 · Source§fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> ⓘ
 
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F> ⓘ
1.0.0 · Source§fn enumerate(self) -> Enumerate<Self> ⓘwhere
    Self: Sized,
 
fn enumerate(self) -> Enumerate<Self> ⓘwhere
    Self: Sized,
1.0.0 · Source§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> ⓘ
 
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> ⓘ
1.0.0 · Source§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> ⓘ
 
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> ⓘ
1.57.0 · Source§fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P> ⓘ
 
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P> ⓘ
1.0.0 · Source§fn skip(self, n: usize) -> Skip<Self> ⓘwhere
    Self: Sized,
 
fn skip(self, n: usize) -> Skip<Self> ⓘwhere
    Self: Sized,
n elements. Read more1.0.0 · Source§fn take(self, n: usize) -> Take<Self> ⓘwhere
    Self: Sized,
 
fn take(self, n: usize) -> Take<Self> ⓘwhere
    Self: Sized,
n elements, or fewer
if the underlying iterator ends sooner. Read more1.0.0 · Source§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> ⓘ
 
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> ⓘ
1.29.0 · Source§fn flatten(self) -> Flatten<Self> ⓘ
 
fn flatten(self) -> Flatten<Self> ⓘ
Source§fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N> ⓘ
 
fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N> ⓘ
iter_map_windows)f for each contiguous window of size N over
self and returns an iterator over the outputs of f. Like slice::windows(),
the windows during mapping overlap as well. Read more1.0.0 · Source§fn inspect<F>(self, f: F) -> Inspect<Self, F> ⓘ
 
fn inspect<F>(self, f: F) -> Inspect<Self, F> ⓘ
1.0.0 · Source§fn by_ref(&mut self) -> &mut Selfwhere
    Self: Sized,
 
fn by_ref(&mut self) -> &mut Selfwhere
    Self: Sized,
Iterator. Read moreSource§fn try_collect<B>(
    &mut self,
) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
 
fn try_collect<B>( &mut self, ) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
iterator_try_collect)Source§fn collect_into<E>(self, collection: &mut E) -> &mut E
 
fn collect_into<E>(self, collection: &mut E) -> &mut E
iter_collect_into)1.0.0 · Source§fn partition<B, F>(self, f: F) -> (B, B)
 
fn partition<B, F>(self, f: F) -> (B, B)
Source§fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
 
fn partition_in_place<'a, T, P>(self, predicate: P) -> usize
iter_partition_in_place)true precede all those that return false.
Returns the number of true elements found. Read moreSource§fn is_partitioned<P>(self, predicate: P) -> bool
 
fn is_partitioned<P>(self, predicate: P) -> bool
iter_is_partitioned)true precede all those that return false. Read more1.27.0 · Source§fn try_for_each<F, R>(&mut self, f: F) -> R
 
fn try_for_each<F, R>(&mut self, f: F) -> R
1.51.0 · Source§fn reduce<F>(self, f: F) -> Option<Self::Item>
 
fn reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn try_reduce<R>(
    &mut self,
    f: impl FnMut(Self::Item, Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
 
fn try_reduce<R>( &mut self, f: impl FnMut(Self::Item, Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
iterator_try_reduce)1.0.0 · Source§fn all<F>(&mut self, f: F) -> bool
 
fn all<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn any<F>(&mut self, f: F) -> bool
 
fn any<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
 
fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
1.30.0 · Source§fn find_map<B, F>(&mut self, f: F) -> Option<B>
 
fn find_map<B, F>(&mut self, f: F) -> Option<B>
Source§fn try_find<R>(
    &mut self,
    f: impl FnMut(&Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
 
fn try_find<R>( &mut self, f: impl FnMut(&Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
try_find)1.0.0 · Source§fn position<P>(&mut self, predicate: P) -> Option<usize>
 
fn position<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn rposition<P>(&mut self, predicate: P) -> Option<usize>
 
fn rposition<P>(&mut self, predicate: P) -> Option<usize>
1.6.0 · Source§fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
 
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn max_by<F>(self, compare: F) -> Option<Self::Item>
 
fn max_by<F>(self, compare: F) -> Option<Self::Item>
1.6.0 · Source§fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
 
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn min_by<F>(self, compare: F) -> Option<Self::Item>
 
fn min_by<F>(self, compare: F) -> Option<Self::Item>
1.0.0 · Source§fn rev(self) -> Rev<Self> ⓘwhere
    Self: Sized + DoubleEndedIterator,
 
fn rev(self) -> Rev<Self> ⓘwhere
    Self: Sized + DoubleEndedIterator,
1.0.0 · Source§fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
 
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
1.36.0 · Source§fn copied<'a, T>(self) -> Copied<Self> ⓘ
 
fn copied<'a, T>(self) -> Copied<Self> ⓘ
Source§fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N> ⓘwhere
    Self: Sized,
 
fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N> ⓘwhere
    Self: Sized,
iter_array_chunks)N elements of the iterator at a time. Read more1.11.0 · Source§fn product<P>(self) -> P
 
fn product<P>(self) -> P
Source§fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
 
fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
iter_order_by)Iterator with those
of another with respect to the specified comparison function. Read more1.5.0 · Source§fn partial_cmp<I>(self, other: I) -> Option<Ordering>
 
fn partial_cmp<I>(self, other: I) -> Option<Ordering>
PartialOrd elements of
this Iterator with those of another. The comparison works like short-circuit
evaluation, returning a result without comparing the remaining elements.
As soon as an order can be determined, the evaluation stops and a result is returned. Read moreSource§fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
    Self: Sized,
    I: IntoIterator,
    F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
 
fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
    Self: Sized,
    I: IntoIterator,
    F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by)Iterator with those
of another with respect to the specified comparison function. Read moreSource§fn eq_by<I, F>(self, other: I, eq: F) -> bool
 
fn eq_by<I, F>(self, other: I, eq: F) -> bool
iter_order_by)1.5.0 · Source§fn lt<I>(self, other: I) -> bool
 
fn lt<I>(self, other: I) -> bool
Iterator are lexicographically
less than those of another. Read more1.5.0 · Source§fn le<I>(self, other: I) -> bool
 
fn le<I>(self, other: I) -> bool
Iterator are lexicographically
less or equal to those of another. Read more1.5.0 · Source§fn gt<I>(self, other: I) -> bool
 
fn gt<I>(self, other: I) -> bool
Iterator are lexicographically
greater than those of another. Read more1.5.0 · Source§fn ge<I>(self, other: I) -> bool
 
fn ge<I>(self, other: I) -> bool
Iterator are lexicographically
greater than or equal to those of another. Read more1.82.0 · Source§fn is_sorted_by<F>(self, compare: F) -> bool
 
fn is_sorted_by<F>(self, compare: F) -> bool
1.82.0 · Source§fn is_sorted_by_key<F, K>(self, f: F) -> bool
 
fn is_sorted_by_key<F, K>(self, f: F) -> bool
Source§impl<I> IteratorIndex<I> for RangeInclusive<usize>where
    I: Iterator,
 
impl<I> IteratorIndex<I> for RangeInclusive<usize>where
    I: Iterator,
Source§impl NomRange<usize> for RangeInclusive<usize>
 
impl NomRange<usize> for RangeInclusive<usize>
Source§type Saturating = Range<usize>
 
type Saturating = Range<usize>
Source§fn is_inverted(&self) -> bool
 
fn is_inverted(&self) -> bool
true if the range is inverted.Source§fn saturating_iter(
    &self,
) -> <RangeInclusive<usize> as NomRange<usize>>::Saturating ⓘ
 
fn saturating_iter( &self, ) -> <RangeInclusive<usize> as NomRange<usize>>::Saturating ⓘ
Source§fn bounded_iter(&self) -> <RangeInclusive<usize> as NomRange<usize>>::Bounded ⓘ
 
fn bounded_iter(&self) -> <RangeInclusive<usize> as NomRange<usize>>::Bounded ⓘ
None for all further elements.1.26.0 · Source§impl<Idx> PartialEq for RangeInclusive<Idx>where
    Idx: PartialEq,
 
impl<Idx> PartialEq for RangeInclusive<Idx>where
    Idx: PartialEq,
1.28.0 · Source§impl<T> RangeBounds<T> for RangeInclusive<&T>
 
impl<T> RangeBounds<T> for RangeInclusive<&T>
1.28.0 · Source§impl<T> RangeBounds<T> for RangeInclusive<T>
 
impl<T> RangeBounds<T> for RangeInclusive<T>
Source§impl<T> SampleRange<T> for RangeInclusive<T>where
    T: SampleUniform + PartialOrd,
 
impl<T> SampleRange<T> for RangeInclusive<T>where
    T: SampleUniform + PartialOrd,
Source§impl<T> SampleRange<T> for RangeInclusive<T>where
    T: SampleUniform + PartialOrd,
 
impl<T> SampleRange<T> for RangeInclusive<T>where
    T: SampleUniform + PartialOrd,
Source§impl<Idx> Serialize for RangeInclusive<Idx>where
    Idx: Serialize,
 
impl<Idx> Serialize for RangeInclusive<Idx>where
    Idx: Serialize,
Source§fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
1.26.0 · Source§impl<T> SliceIndex<[T]> for RangeInclusive<usize>
The methods index and index_mut panic if:
 
impl<T> SliceIndex<[T]> for RangeInclusive<usize>
The methods index and index_mut panic if:
- the end of the range is 
usize::MAXor - the start of the range is greater than the end of the range or
 - the end of the range is out of bounds.
 
Source§fn get(self, slice: &[T]) -> Option<&[T]>
 
fn get(self, slice: &[T]) -> Option<&[T]>
slice_index_methods)Source§fn get_mut(self, slice: &mut [T]) -> Option<&mut [T]>
 
fn get_mut(self, slice: &mut [T]) -> Option<&mut [T]>
slice_index_methods)Source§unsafe fn get_unchecked(self, slice: *const [T]) -> *const [T]
 
unsafe fn get_unchecked(self, slice: *const [T]) -> *const [T]
slice_index_methods)Source§unsafe fn get_unchecked_mut(self, slice: *mut [T]) -> *mut [T]
 
unsafe fn get_unchecked_mut(self, slice: *mut [T]) -> *mut [T]
slice_index_methods)Source§impl SliceIndex<ByteStr> for RangeInclusive<usize>
 
impl SliceIndex<ByteStr> for RangeInclusive<usize>
Source§fn get(
    self,
    slice: &ByteStr,
) -> Option<&<RangeInclusive<usize> as SliceIndex<ByteStr>>::Output>
 
fn get( self, slice: &ByteStr, ) -> Option<&<RangeInclusive<usize> as SliceIndex<ByteStr>>::Output>
slice_index_methods)Source§fn get_mut(
    self,
    slice: &mut ByteStr,
) -> Option<&mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output>
 
fn get_mut( self, slice: &mut ByteStr, ) -> Option<&mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output>
slice_index_methods)Source§unsafe fn get_unchecked(
    self,
    slice: *const ByteStr,
) -> *const <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output
 
unsafe fn get_unchecked( self, slice: *const ByteStr, ) -> *const <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output
slice_index_methods)Source§unsafe fn get_unchecked_mut(
    self,
    slice: *mut ByteStr,
) -> *mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output
 
unsafe fn get_unchecked_mut( self, slice: *mut ByteStr, ) -> *mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output
slice_index_methods)Source§fn index(
    self,
    slice: &ByteStr,
) -> &<RangeInclusive<usize> as SliceIndex<ByteStr>>::Output ⓘ
 
fn index( self, slice: &ByteStr, ) -> &<RangeInclusive<usize> as SliceIndex<ByteStr>>::Output ⓘ
slice_index_methods)Source§fn index_mut(
    self,
    slice: &mut ByteStr,
) -> &mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output ⓘ
 
fn index_mut( self, slice: &mut ByteStr, ) -> &mut <RangeInclusive<usize> as SliceIndex<ByteStr>>::Output ⓘ
slice_index_methods)1.26.0 · Source§impl SliceIndex<str> for RangeInclusive<usize>
Implements substring slicing with syntax &self[begin ..= end] or &mut self[begin ..= end].
 
impl SliceIndex<str> for RangeInclusive<usize>
Implements substring slicing with syntax &self[begin ..= end] or &mut self[begin ..= end].
Returns a slice of the given string from the byte range
[begin, end]. Equivalent to &self [begin .. end + 1] or &mut self[begin .. end + 1], except if end has the maximum value for
usize.
This operation is O(1).
§Panics
Panics if begin does not point to the starting byte offset of
a character (as defined by is_char_boundary), if end does not point
to the ending byte offset of a character (end + 1 is either a starting
byte offset or equal to len), if begin > end, or if end >= len.
Source§fn get(
    self,
    slice: &str,
) -> Option<&<RangeInclusive<usize> as SliceIndex<str>>::Output>
 
fn get( self, slice: &str, ) -> Option<&<RangeInclusive<usize> as SliceIndex<str>>::Output>
slice_index_methods)Source§fn get_mut(
    self,
    slice: &mut str,
) -> Option<&mut <RangeInclusive<usize> as SliceIndex<str>>::Output>
 
fn get_mut( self, slice: &mut str, ) -> Option<&mut <RangeInclusive<usize> as SliceIndex<str>>::Output>
slice_index_methods)Source§unsafe fn get_unchecked(
    self,
    slice: *const str,
) -> *const <RangeInclusive<usize> as SliceIndex<str>>::Output
 
unsafe fn get_unchecked( self, slice: *const str, ) -> *const <RangeInclusive<usize> as SliceIndex<str>>::Output
slice_index_methods)Source§unsafe fn get_unchecked_mut(
    self,
    slice: *mut str,
) -> *mut <RangeInclusive<usize> as SliceIndex<str>>::Output
 
unsafe fn get_unchecked_mut( self, slice: *mut str, ) -> *mut <RangeInclusive<usize> as SliceIndex<str>>::Output
slice_index_methods)Source§fn index(
    self,
    slice: &str,
) -> &<RangeInclusive<usize> as SliceIndex<str>>::Output ⓘ
 
fn index( self, slice: &str, ) -> &<RangeInclusive<usize> as SliceIndex<str>>::Output ⓘ
slice_index_methods)Source§fn index_mut(
    self,
    slice: &mut str,
) -> &mut <RangeInclusive<usize> as SliceIndex<str>>::Output ⓘ
 
fn index_mut( self, slice: &mut str, ) -> &mut <RangeInclusive<usize> as SliceIndex<str>>::Output ⓘ
slice_index_methods)Source§impl Strategy for RangeInclusive<f32>
 
impl Strategy for RangeInclusive<f32>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = f32
 
type Value = f32
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<f32> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<f32> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<f64>
 
impl Strategy for RangeInclusive<f64>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = f64
 
type Value = f64
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<f64> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<f64> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<i128>
 
impl Strategy for RangeInclusive<i128>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = i128
 
type Value = i128
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<i128> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<i128> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<i16>
 
impl Strategy for RangeInclusive<i16>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = i16
 
type Value = i16
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<i16> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<i16> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<i32>
 
impl Strategy for RangeInclusive<i32>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = i32
 
type Value = i32
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<i32> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<i32> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<i64>
 
impl Strategy for RangeInclusive<i64>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = i64
 
type Value = i64
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<i64> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<i64> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<i8>
 
impl Strategy for RangeInclusive<i8>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = i8
 
type Value = i8
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<i8> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<i8> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<isize>
 
impl Strategy for RangeInclusive<isize>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = isize
 
type Value = isize
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<isize> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<isize> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<u128>
 
impl Strategy for RangeInclusive<u128>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = u128
 
type Value = u128
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<u128> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<u128> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<u16>
 
impl Strategy for RangeInclusive<u16>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = u16
 
type Value = u16
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<u16> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<u16> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<u32>
 
impl Strategy for RangeInclusive<u32>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = u32
 
type Value = u32
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<u32> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<u32> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<u64>
 
impl Strategy for RangeInclusive<u64>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = u64
 
type Value = u64
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<u64> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<u64> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<u8>
 
impl Strategy for RangeInclusive<u8>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = u8
 
type Value = u8
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<u8> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<u8> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl Strategy for RangeInclusive<usize>
 
impl Strategy for RangeInclusive<usize>
Source§type Tree = BinarySearch
 
type Tree = BinarySearch
Strategy.Source§type Value = usize
 
type Value = usize
Source§fn new_tree(
    &self,
    runner: &mut TestRunner,
) -> Result<<RangeInclusive<usize> as Strategy>::Tree, Reason>
 
fn new_tree( &self, runner: &mut TestRunner, ) -> Result<<RangeInclusive<usize> as Strategy>::Tree, Reason>
Source§fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
 
fn prop_map<O, F>(self, fun: F) -> Map<Self, F>
fun. Read moreSource§fn prop_map_into<O>(self) -> MapInto<Self, O>
 
fn prop_map_into<O>(self) -> MapInto<Self, O>
Source§fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
 
fn prop_perturb<O, F>(self, fun: F) -> Perturb<Self, F>
fun, which is additionally given a random number generator. Read moreSource§fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
 
fn prop_flat_map<S, F>(self, fun: F) -> Flatten<Map<Self, F>>
Source§fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
 
fn prop_ind_flat_map<S, F>(self, fun: F) -> IndFlatten<Map<Self, F>>
Source§fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
 
fn prop_ind_flat_map2<S, F>(self, fun: F) -> IndFlattenMap<Self, F>
prop_ind_flat_map(), but produces 2-tuples with the input
generated from self in slot 0 and the derived strategy in slot 1. Read moreSource§fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
 
fn prop_filter<R, F>(self, whence: R, fun: F) -> Filter<Self, F>
fun. Read moreSource§fn prop_filter_map<F, O>(
    self,
    whence: impl Into<Reason>,
    fun: F,
) -> FilterMap<Self, F>
 
fn prop_filter_map<F, O>( self, whence: impl Into<Reason>, fun: F, ) -> FilterMap<Self, F>
fun
returns Some(value) and rejects those where fun returns None. Read moreSource§fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
 
fn prop_union(self, other: Self) -> Union<Self>where
    Self: Sized,
Source§fn prop_recursive<R, F>(
    self,
    depth: u32,
    desired_size: u32,
    expected_branch_size: u32,
    recurse: F,
) -> Recursive<Self::Value, F>
 
fn prop_recursive<R, F>( self, depth: u32, desired_size: u32, expected_branch_size: u32, recurse: F, ) -> Recursive<Self::Value, F>
self items as leaves. Read moreSource§fn prop_shuffle(self) -> Shuffle<Self>
 
fn prop_shuffle(self) -> Shuffle<Self>
Source§fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
 
fn boxed(self) -> BoxedStrategy<Self::Value>where
    Self: Sized + 'static,
Strategy so it can be passed around as a
simple trait object. Read moreSource§impl<X> TryFrom<RangeInclusive<X>> for Uniform<X>where
    X: SampleUniform,
 
impl<X> TryFrom<RangeInclusive<X>> for Uniform<X>where
    X: SampleUniform,
impl<Idx> Eq for RangeInclusive<Idx>where
    Idx: Eq,
impl<A> FusedIterator for RangeInclusive<A>where
    A: Step,
impl<Idx> StructuralPartialEq for RangeInclusive<Idx>
impl<A> TrustedLen for RangeInclusive<A>where
    A: TrustedStep,
Auto Trait Implementations§
impl<Idx> Freeze for RangeInclusive<Idx>where
    Idx: Freeze,
impl<Idx> RefUnwindSafe for RangeInclusive<Idx>where
    Idx: RefUnwindSafe,
impl<Idx> Send for RangeInclusive<Idx>where
    Idx: Send,
impl<Idx> Sync for RangeInclusive<Idx>where
    Idx: Sync,
impl<Idx> Unpin for RangeInclusive<Idx>where
    Idx: Unpin,
impl<Idx> UnwindSafe for RangeInclusive<Idx>where
    Idx: 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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
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
key and return true if they are equal.Source§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
 
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
 
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<I> IntoIterator for Iwhere
    I: Iterator,
 
impl<I> IntoIterator for Iwhere
    I: Iterator,
Source§impl<I> IntoResettable<ValueParser> for Iwhere
    I: Into<ValueParser>,
 
impl<I> IntoResettable<ValueParser> for Iwhere
    I: Into<ValueParser>,
Source§fn into_resettable(self) -> Resettable<ValueParser>
 
fn into_resettable(self) -> Resettable<ValueParser>
Source§impl<I> IntoResettable<ValueRange> for Iwhere
    I: Into<ValueRange>,
 
impl<I> IntoResettable<ValueRange> for Iwhere
    I: Into<ValueRange>,
Source§fn into_resettable(self) -> Resettable<ValueRange>
 
fn into_resettable(self) -> Resettable<ValueRange>
Source§impl<I> IteratorRandom for Iwhere
    I: Iterator,
 
impl<I> IteratorRandom for Iwhere
    I: Iterator,
Source§fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
 
fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
Source§impl<I> IteratorRandom for Iwhere
    I: Iterator,
 
impl<I> IteratorRandom for Iwhere
    I: Iterator,
Source§fn choose<R>(self, rng: &mut R) -> Option<Self::Item>
 
fn choose<R>(self, rng: &mut R) -> Option<Self::Item>
Source§fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
 
fn choose_stable<R>(self, rng: &mut R) -> Option<Self::Item>
Source§impl<T> Itertools for T
 
impl<T> Itertools for T
Source§fn interleave<J>(
    self,
    other: J,
) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn interleave<J>( self, other: J, ) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn interleave_shortest<J>(
    self,
    other: J,
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn interleave_shortest<J>( self, other: J, ) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn intersperse(
    self,
    element: Self::Item,
) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
 
fn intersperse( self, element: Self::Item, ) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
Source§fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
 
fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
Source§fn get<R>(self, index: R) -> <R as IteratorIndex<Self>>::Outputwhere
    Self: Sized,
    R: IteratorIndex<Self>,
 
fn get<R>(self, index: R) -> <R as IteratorIndex<Self>>::Outputwhere
    Self: Sized,
    R: IteratorIndex<Self>,
Source§fn zip_longest<J>(
    self,
    other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
 
fn zip_longest<J>(
    self,
    other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
Source§fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
 
fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
Source§fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
 
fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
Source§fn chunk_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
 
fn chunk_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
Source§fn group_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
 
fn group_by<K, F>(self, key: F) -> ChunkBy<K, Self, F>
.chunk_by().Source§fn chunks(self, size: usize) -> IntoChunks<Self>where
    Self: Sized,
 
fn chunks(self, size: usize) -> IntoChunks<Self>where
    Self: Sized,
Source§fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
    Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
    T: HomogeneousTuple,
    <T as TupleCollect>::Item: Clone,
 
fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
    Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
    T: HomogeneousTuple,
    <T as TupleCollect>::Item: Clone,
Source§fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
 
fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
Source§fn tuples<T>(self) -> Tuples<Self, T> ⓘ
 
fn tuples<T>(self) -> Tuples<Self, T> ⓘ
Source§fn tee(self) -> (Tee<Self>, Tee<Self>)
 
fn tee(self) -> (Tee<Self>, Tee<Self>)
Source§fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
 
fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
Result::Ok value. Result::Err values are
unchanged. Read moreSource§fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
 
fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
Result::Ok
value with the provided closure. Result::Err values are
unchanged. Read moreSource§fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
 
fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
Result::Ok value with the provided closure. Result::Err
values are unchanged. Read moreSource§fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E> ⓘ
 
fn flatten_ok<T, E>(self) -> FlattenOk<Self, T, E> ⓘ
Result::Ok value into
a series of Result::Ok values. Result::Err values are unchanged. Read moreSource§fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>
 
fn process_results<F, T, E, R>(self, processor: F) -> Result<R, E>
Result values instead. Read moreSource§fn merge<J>(
    self,
    other: J,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
 
fn merge<J>( self, other: J, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
Source§fn merge_by<J, F>(
    self,
    other: J,
    is_first: F,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
 
fn merge_by<J, F>( self, other: J, is_first: F, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
Source§fn merge_join_by<J, F, T>(
    self,
    other: J,
    cmp_fn: F,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>> ⓘ
 
fn merge_join_by<J, F, T>( self, other: J, cmp_fn: F, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeFuncLR<F, <F as FuncLR<Self::Item, <<J as IntoIterator>::IntoIter as Iterator>::Item>>::T>> ⓘ
Source§fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> ⓘ
 
fn kmerge(self) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, KMergeByLt> ⓘ
Source§fn kmerge_by<F>(
    self,
    first: F,
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> ⓘwhere
    Self: Sized,
    Self::Item: IntoIterator,
    F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
 
fn kmerge_by<F>(
    self,
    first: F,
) -> KMergeBy<<Self::Item as IntoIterator>::IntoIter, F> ⓘwhere
    Self: Sized,
    Self::Item: IntoIterator,
    F: FnMut(&<Self::Item as IntoIterator>::Item, &<Self::Item as IntoIterator>::Item) -> bool,
Source§fn cartesian_product<J>(
    self,
    other: J,
) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn cartesian_product<J>( self, other: J, ) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
self and J. Read moreSource§fn multi_cartesian_product(
    self,
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> ⓘwhere
    Self: Sized,
    Self::Item: IntoIterator,
    <Self::Item as IntoIterator>::IntoIter: Clone,
    <Self::Item as IntoIterator>::Item: Clone,
 
fn multi_cartesian_product(
    self,
) -> MultiProduct<<Self::Item as IntoIterator>::IntoIter> ⓘwhere
    Self: Sized,
    Self::Item: IntoIterator,
    <Self::Item as IntoIterator>::IntoIter: Clone,
    <Self::Item as IntoIterator>::Item: Clone,
self. Read moreSource§fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, NoCount>
 
fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, NoCount>
Source§fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, NoCount>
 
fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, NoCount>
Source§fn dedup_by<Cmp>(
    self,
    cmp: Cmp,
) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, NoCount>
 
fn dedup_by<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, NoCount>
Source§fn dedup_with_count(
    self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, WithCount>where
    Self: Sized,
 
fn dedup_with_count(
    self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, WithCount>where
    Self: Sized,
Source§fn dedup_by_with_count<Cmp>(
    self,
    cmp: Cmp,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, WithCount>
 
fn dedup_by_with_count<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, WithCount>
Source§fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>
 
fn duplicates(self) -> DuplicatesBy<Self, Self::Item, ById>
Source§fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>
 
fn duplicates_by<V, F>(self, f: F) -> DuplicatesBy<Self, V, ByFn<F>>
Source§fn unique(self) -> Unique<Self> ⓘ
 
fn unique(self) -> Unique<Self> ⓘ
Source§fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> ⓘ
 
fn unique_by<V, F>(self, f: F) -> UniqueBy<Self, V, F> ⓘ
Source§fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
 
fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
accept returns true. Read moreSource§fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
 
fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
Clone-able iterator
to only pick off elements while the predicate accept returns true. Read moreSource§fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F> ⓘ
 
fn take_while_inclusive<F>(self, accept: F) -> TakeWhileInclusive<Self, F> ⓘ
true, including the element for which the predicate
first returned false. Read moreSource§fn while_some<A>(self) -> WhileSome<Self> ⓘ
 
fn while_some<A>(self) -> WhileSome<Self> ⓘ
Option<A> iterator elements
and produces A. Stops on the first None encountered. Read moreSource§fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
 
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
Source§fn array_combinations<const K: usize>(
    self,
) -> CombinationsGeneric<Self, [usize; K]>
 
fn array_combinations<const K: usize>( self, ) -> CombinationsGeneric<Self, [usize; K]>
Source§fn combinations(self, k: usize) -> CombinationsGeneric<Self, Vec<usize>>
 
fn combinations(self, k: usize) -> CombinationsGeneric<Self, Vec<usize>>
k-length combinations of
the elements from an iterator. Read moreSource§fn combinations_with_replacement(
    self,
    k: usize,
) -> CombinationsWithReplacement<Self> ⓘ
 
fn combinations_with_replacement( self, k: usize, ) -> CombinationsWithReplacement<Self> ⓘ
k-length combinations of
the elements from an iterator, with replacement. Read moreSource§fn permutations(self, k: usize) -> Permutations<Self> ⓘ
 
fn permutations(self, k: usize) -> Permutations<Self> ⓘ
Source§fn powerset(self) -> Powerset<Self> ⓘ
 
fn powerset(self) -> Powerset<Self> ⓘ
Source§fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
 
fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
min by filling missing elements using a closure f. Read moreSource§fn with_position(self) -> WithPosition<Self> ⓘwhere
    Self: Sized,
 
fn with_position(self) -> WithPosition<Self> ⓘwhere
    Self: Sized,
Position to
ease special-case handling of the first or last elements. Read moreSource§fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
 
fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
Source§fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
 
fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
Source§fn next_array<const N: usize>(&mut self) -> Option<[Self::Item; N]>where
    Self: Sized,
 
fn next_array<const N: usize>(&mut self) -> Option<[Self::Item; N]>where
    Self: Sized,
Source§fn collect_array<const N: usize>(self) -> Option<[Self::Item; N]>where
    Self: Sized,
 
fn collect_array<const N: usize>(self) -> Option<[Self::Item; N]>where
    Self: Sized,
Source§fn next_tuple<T>(&mut self) -> Option<T>
 
fn next_tuple<T>(&mut self) -> Option<T>
Source§fn collect_tuple<T>(self) -> Option<T>
 
fn collect_tuple<T>(self) -> Option<T>
Source§fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
 
fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
Source§fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>
 
fn find_or_last<P>(self, predicate: P) -> Option<Self::Item>
Source§fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>
 
fn find_or_first<P>(self, predicate: P) -> Option<Self::Item>
Source§fn contains<Q>(&mut self, query: &Q) -> bool
 
fn contains<Q>(&mut self, query: &Q) -> bool
true if the given item is present in this iterator. Read moreSource§fn all_equal_value(
    &mut self,
) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>
 
fn all_equal_value( &mut self, ) -> Result<Self::Item, Option<(Self::Item, Self::Item)>>
Source§fn all_unique(&mut self) -> bool
 
fn all_unique(&mut self) -> bool
Source§fn dropping(self, n: usize) -> Selfwhere
    Self: Sized,
 
fn dropping(self, n: usize) -> Selfwhere
    Self: Sized,
n elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn dropping_back(self, n: usize) -> Selfwhere
    Self: Sized + DoubleEndedIterator,
 
fn dropping_back(self, n: usize) -> Selfwhere
    Self: Sized + DoubleEndedIterator,
n elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn collect_vec(self) -> Vec<Self::Item>where
    Self: Sized,
 
fn collect_vec(self) -> Vec<Self::Item>where
    Self: Sized,
.collect_vec() is simply a type specialization of Iterator::collect,
for convenience.Source§fn try_collect<T, U, E>(self) -> Result<U, E>
 
fn try_collect<T, U, E>(self) -> Result<U, E>
Source§fn set_from<'a, A, J>(&mut self, from: J) -> usize
 
fn set_from<'a, A, J>(&mut self, from: J) -> usize
self from the from iterator,
stopping at the shortest of the two iterators. Read moreSource§fn format(self, sep: &str) -> Format<'_, Self>where
    Self: Sized,
 
fn format(self, sep: &str) -> Format<'_, Self>where
    Self: Sized,
sep. Read moreSource§fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
 
fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
sep. Read moreSource§fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
 
fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
Result values from an iterator. Read moreSource§fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
 
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
Option values from an iterator. Read moreSource§fn fold1<F>(self, f: F) -> Option<Self::Item>
 
fn fold1<F>(self, f: F) -> Option<Self::Item>
Iterator::reduce insteadSource§fn tree_reduce<F>(self, f: F) -> Option<Self::Item>
 
fn tree_reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
 
fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
.tree_reduce().Source§fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
 
fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
Source§fn sum1<S>(self) -> Option<S>
 
fn sum1<S>(self) -> Option<S>
Source§fn product1<P>(self) -> Option<P>
 
fn product1<P>(self) -> Option<P>
Source§fn sorted_unstable(self) -> IntoIter<Self::Item> ⓘ
 
fn sorted_unstable(self) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn sorted_unstable_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
 
fn sorted_unstable_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted(self) -> IntoIter<Self::Item> ⓘ
 
fn sorted(self) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn sorted_by<F>(self, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
 
fn sorted_by_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
 
fn sorted_by_cached_key<K, F>(self, f: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest(self, k: usize) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_smallest_relaxed_by_key<F, K>(
    self,
    k: usize,
    key: F,
) -> IntoIter<Self::Item> ⓘ
 
fn k_smallest_relaxed_by_key<F, K>( self, k: usize, key: F, ) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest(self, k: usize) -> IntoIter<Self::Item> ⓘ
 
fn k_largest(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn k_largest_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
 
fn k_largest_by_key<F, K>(self, k: usize, key: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
 
fn k_largest_relaxed(self, k: usize) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
 
fn k_largest_relaxed_by<F>(self, k: usize, cmp: F) -> IntoIter<Self::Item> ⓘ
Source§fn k_largest_relaxed_by_key<F, K>(
    self,
    k: usize,
    key: F,
) -> IntoIter<Self::Item> ⓘ
 
fn k_largest_relaxed_by_key<F, K>( self, k: usize, key: F, ) -> IntoIter<Self::Item> ⓘ
Source§fn tail(self, n: usize) -> IntoIter<Self::Item> ⓘwhere
    Self: Sized,
 
fn tail(self, n: usize) -> IntoIter<Self::Item> ⓘwhere
    Self: Sized,
n elements. Read moreSource§fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
 
fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
Iterator::partition, each partition may
have a distinct type. Read moreSource§fn partition_result<A, B, T, E>(self) -> (A, B)
 
fn partition_result<A, B, T, E>(self) -> (A, B)
Results into one list of all the Ok elements
and another list of all the Err elements. Read moreSource§fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>
 
fn into_group_map<K, V>(self) -> HashMap<K, Vec<V>>
HashMap of keys mapped to Vecs of values. Keys and values
are taken from (Key, Value) tuple pairs yielded by the input iterator. Read moreSource§fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>
 
fn into_group_map_by<K, V, F>(self, f: F) -> HashMap<K, Vec<V>>
HashMap of keys mapped to Vecs of values. The key is specified
in the closure. The values are taken from the input iterator. Read moreSource§fn into_grouping_map<K, V>(self) -> GroupingMap<Self>
 
fn into_grouping_map<K, V>(self) -> GroupingMap<Self>
GroupingMap to be used later with one of the efficient
group-and-fold operations it allows to perform. Read moreSource§fn into_grouping_map_by<K, V, F>(
    self,
    key_mapper: F,
) -> GroupingMap<MapSpecialCase<Self, GroupingMapFn<F>>>
 
fn into_grouping_map_by<K, V, F>( self, key_mapper: F, ) -> GroupingMap<MapSpecialCase<Self, GroupingMapFn<F>>>
GroupingMap to be used later with one of the efficient
group-and-fold operations it allows to perform. Read moreSource§fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>
 
fn min_set_by<F>(self, compare: F) -> Vec<Self::Item>
Source§fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
 
fn min_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
Source§fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>
 
fn max_set_by<F>(self, compare: F) -> Vec<Self::Item>
Source§fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
 
fn max_set_by_key<K, F>(self, key: F) -> Vec<Self::Item>
Source§fn minmax(self) -> MinMaxResult<Self::Item>
 
fn minmax(self) -> MinMaxResult<Self::Item>
Source§fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>
 
fn minmax_by_key<K, F>(self, key: F) -> MinMaxResult<Self::Item>
Source§fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>
 
fn minmax_by<F>(self, compare: F) -> MinMaxResult<Self::Item>
Source§fn position_max(self) -> Option<usize>
 
fn position_max(self) -> Option<usize>
Source§fn position_max_by_key<K, F>(self, key: F) -> Option<usize>
 
fn position_max_by_key<K, F>(self, key: F) -> Option<usize>
Source§fn position_max_by<F>(self, compare: F) -> Option<usize>
 
fn position_max_by<F>(self, compare: F) -> Option<usize>
Source§fn position_min(self) -> Option<usize>
 
fn position_min(self) -> Option<usize>
Source§fn position_min_by_key<K, F>(self, key: F) -> Option<usize>
 
fn position_min_by_key<K, F>(self, key: F) -> Option<usize>
Source§fn position_min_by<F>(self, compare: F) -> Option<usize>
 
fn position_min_by<F>(self, compare: F) -> Option<usize>
Source§fn position_minmax(self) -> MinMaxResult<usize>
 
fn position_minmax(self) -> MinMaxResult<usize>
Source§fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>
 
fn position_minmax_by_key<K, F>(self, key: F) -> MinMaxResult<usize>
Source§fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>
 
fn position_minmax_by<F>(self, compare: F) -> MinMaxResult<usize>
Source§fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where
    Self: Sized,
 
fn exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>where
    Self: Sized,
Source§fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where
    Self: Sized,
 
fn at_most_one(self) -> Result<Option<Self::Item>, ExactlyOneError<Self>>where
    Self: Sized,
Ok(None) will be returned. If the iterator yields
exactly one element, that element will be returned, otherwise an error will be returned
containing an iterator that has the same output as the input iterator. Read moreSource§fn multipeek(self) -> MultiPeek<Self> ⓘwhere
    Self: Sized,
 
fn multipeek(self) -> MultiPeek<Self> ⓘwhere
    Self: Sized,
.next()
values without advancing the base iterator. Read moreSource§fn counts(self) -> HashMap<Self::Item, usize>
 
fn counts(self) -> HashMap<Self::Item, usize>
HashMap which
contains each item that appears in the iterator and the number
of times it appears. Read moreSource§fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>
 
fn counts_by<K, F>(self, f: F) -> HashMap<K, usize>
HashMap which
contains each item that appears in the iterator and the number
of times it appears,
determining identity using a keying function. Read moreSource§fn multiunzip<FromI>(self) -> FromIwhere
    Self: Sized + MultiUnzip<FromI>,
 
fn multiunzip<FromI>(self) -> FromIwhere
    Self: Sized + MultiUnzip<FromI>,
Source§impl<T> Itertools for T
 
impl<T> Itertools for T
Source§fn interleave<J>(
    self,
    other: J,
) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn interleave<J>( self, other: J, ) -> Interleave<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn interleave_shortest<J>(
    self,
    other: J,
) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn interleave_shortest<J>( self, other: J, ) -> InterleaveShortest<Self, <J as IntoIterator>::IntoIter> ⓘ
Source§fn intersperse(
    self,
    element: Self::Item,
) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
 
fn intersperse( self, element: Self::Item, ) -> IntersperseWith<Self, IntersperseElementSimple<Self::Item>> ⓘ
Source§fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
 
fn intersperse_with<F>(self, element: F) -> IntersperseWith<Self, F> ⓘ
Source§fn zip_longest<J>(
    self,
    other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
 
fn zip_longest<J>(
    self,
    other: J,
) -> ZipLongest<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
Source§fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
 
fn zip_eq<J>(self, other: J) -> ZipEq<Self, <J as IntoIterator>::IntoIter> ⓘwhere
    J: IntoIterator,
    Self: Sized,
Source§fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
 
fn batching<B, F>(self, f: F) -> Batching<Self, F> ⓘ
Source§fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
    Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
    T: HomogeneousTuple,
    <T as TupleCollect>::Item: Clone,
 
fn tuple_windows<T>(self) -> TupleWindows<Self, T> ⓘwhere
    Self: Sized + Iterator<Item = <T as TupleCollect>::Item>,
    T: HomogeneousTuple,
    <T as TupleCollect>::Item: Clone,
Source§fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
 
fn circular_tuple_windows<T>(self) -> CircularTupleWindows<Self, T> ⓘ
Source§fn tuples<T>(self) -> Tuples<Self, T> ⓘ
 
fn tuples<T>(self) -> Tuples<Self, T> ⓘ
Source§fn step(self, n: usize) -> Step<Self> ⓘwhere
    Self: Sized,
 
fn step(self, n: usize) -> Step<Self> ⓘwhere
    Self: Sized,
n elements in the base iterator
for each iteration. Read moreSource§fn map_into<R>(self) -> MapSpecialCase<Self, MapSpecialCaseFnInto<R>>
 
fn map_into<R>(self) -> MapSpecialCase<Self, MapSpecialCaseFnInto<R>>
Into trait. Read moreSource§fn map_results<F, T, U, E>(
    self,
    f: F,
) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
 
fn map_results<F, T, U, E>( self, f: F, ) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
.map_ok().Source§fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
 
fn map_ok<F, T, U, E>(self, f: F) -> MapSpecialCase<Self, MapSpecialCaseFnOk<F>>
Result::Ok value. Result::Err values are
unchanged. Read moreSource§fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
 
fn filter_ok<F, T, E>(self, f: F) -> FilterOk<Self, F> ⓘ
Result::Ok
value with the provided closure. Result::Err values are
unchanged. Read moreSource§fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
 
fn filter_map_ok<F, T, U, E>(self, f: F) -> FilterMapOk<Self, F> ⓘ
Result::Ok value with the provided closure. Result::Err
values are unchanged. Read moreSource§fn merge<J>(
    self,
    other: J,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
 
fn merge<J>( self, other: J, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, MergeLte> ⓘ
Source§fn merge_by<J, F>(
    self,
    other: J,
    is_first: F,
) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
 
fn merge_by<J, F>( self, other: J, is_first: F, ) -> MergeBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
.merge() but allows for a custom ordering. Read moreSource§fn merge_join_by<J, F>(
    self,
    other: J,
    cmp_fn: F,
) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
 
fn merge_join_by<J, F>( self, other: J, cmp_fn: F, ) -> MergeJoinBy<Self, <J as IntoIterator>::IntoIter, F> ⓘ
Source§fn cartesian_product<J>(
    self,
    other: J,
) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
 
fn cartesian_product<J>( self, other: J, ) -> Product<Self, <J as IntoIterator>::IntoIter> ⓘ
self and J. Read moreSource§fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>
 
fn coalesce<F>(self, f: F) -> CoalesceBy<Self, F, Self::Item>
Source§fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>
 
fn dedup(self) -> CoalesceBy<Self, DedupPred2CoalescePred<DedupEq>, Self::Item>
Source§fn dedup_by<Cmp>(
    self,
    cmp: Cmp,
) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>
 
fn dedup_by<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPred2CoalescePred<Cmp>, Self::Item>
Source§fn dedup_with_count(
    self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where
    Self: Sized,
 
fn dedup_with_count(
    self,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<DedupEq>, (usize, Self::Item)>where
    Self: Sized,
Source§fn dedup_by_with_count<Cmp>(
    self,
    cmp: Cmp,
) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>
 
fn dedup_by_with_count<Cmp>( self, cmp: Cmp, ) -> CoalesceBy<Self, DedupPredWithCount2CoalescePred<Cmp>, (usize, Self::Item)>
Source§fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
 
fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<'_, Self, F> ⓘ
accept returns true. Read moreSource§fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
 
fn take_while_ref<F>(&mut self, accept: F) -> TakeWhileRef<'_, Self, F> ⓘ
Clone-able iterator
to only pick off elements while the predicate accept returns true. Read moreSource§fn while_some<A>(self) -> WhileSome<Self> ⓘ
 
fn while_some<A>(self) -> WhileSome<Self> ⓘ
Option<A> iterator elements
and produces A. Stops on the first None encountered. Read moreSource§fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
 
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T> ⓘ
Source§fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
 
fn pad_using<F>(self, min: usize, f: F) -> PadUsing<Self, F> ⓘ
min by filling missing elements using a closure f. Read moreSource§fn with_position(self) -> WithPosition<Self> ⓘwhere
    Self: Sized,
 
fn with_position(self) -> WithPosition<Self> ⓘwhere
    Self: Sized,
Position to
ease special-case handling of the first or last elements. Read moreSource§fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
 
fn positions<P>(self, predicate: P) -> Positions<Self, P> ⓘ
Source§fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
 
fn update<F>(self, updater: F) -> Update<Self, F> ⓘ
Source§fn next_tuple<T>(&mut self) -> Option<T>
 
fn next_tuple<T>(&mut self) -> Option<T>
Source§fn collect_tuple<T>(self) -> Option<T>
 
fn collect_tuple<T>(self) -> Option<T>
Source§fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
 
fn find_position<P>(&mut self, pred: P) -> Option<(usize, Self::Item)>
Source§fn dropping(self, n: usize) -> Selfwhere
    Self: Sized,
 
fn dropping(self, n: usize) -> Selfwhere
    Self: Sized,
n elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn dropping_back(self, n: usize) -> Selfwhere
    Self: Sized + DoubleEndedIterator,
 
fn dropping_back(self, n: usize) -> Selfwhere
    Self: Sized + DoubleEndedIterator,
n elements from the iterator eagerly,
and return the same iterator again. Read moreSource§fn foreach<F>(self, f: F)
 
fn foreach<F>(self, f: F)
f eagerly on each element of the iterator. Read moreSource§fn concat(self) -> Self::Item
 
fn concat(self) -> Self::Item
Extend. Read moreSource§fn set_from<'a, A, J>(&mut self, from: J) -> usize
 
fn set_from<'a, A, J>(&mut self, from: J) -> usize
self from the from iterator,
stopping at the shortest of the two iterators. Read moreSource§fn format(self, sep: &str) -> Format<'_, Self>where
    Self: Sized,
 
fn format(self, sep: &str) -> Format<'_, Self>where
    Self: Sized,
sep. Read moreSource§fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
 
fn format_with<F>(self, sep: &str, format: F) -> FormatWith<'_, Self, F>
sep. Read moreSource§fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
 
fn fold_results<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
.fold_ok().Source§fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
 
fn fold_ok<A, E, B, F>(&mut self, start: B, f: F) -> Result<B, E>
Result values from an iterator. Read moreSource§fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
 
fn fold_options<A, B, F>(&mut self, start: B, f: F) -> Option<B>
Option values from an iterator. Read moreSource§fn fold1<F>(self, f: F) -> Option<Self::Item>
 
fn fold1<F>(self, f: F) -> Option<Self::Item>
Source§fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
 
fn tree_fold1<F>(self, f: F) -> Option<Self::Item>
Source§fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
 
fn fold_while<B, F>(&mut self, init: B, f: F) -> FoldWhile<B>
Source§fn sum1<S>(self) -> Option<S>
 
fn sum1<S>(self) -> Option<S>
Source§fn product1<P>(self) -> Option<P>
 
fn product1<P>(self) -> Option<P>
Source§fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
 
fn partition_map<A, B, F, L, R>(self, predicate: F) -> (A, B)
Iterator::partition, each partition may
have a distinct type. Read more