doc.rust-lang.org
pub struct Fuse<I>
An iterator that yields None forever after the underlying iterator yields None once.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Flatten<I>
An iterator that flattens one level of nesting in an iterator of things that can be turned into iterators.
struct
core
Stable since 1.29.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct FlatMap<I, U, F>
An iterator that maps each element to an iterator, and yields the elements of the produced iterators.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct FilterMap<I, F>
An iterator that uses f to both filter and map elements from iter.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Filter<I, P>
An iterator that filters the elements of iter with predicate.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Enumerate<I>
An iterator that yields the current count and the element during iteration.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Cycle<I>
An iterator that repeats endlessly.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Copied<I>
An iterator that copies the elements of an underlying iterator.
struct
core
Stable since 1.36.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Cloned<I>
An iterator that clones the elements of an underlying iterator.
struct
core
Stable since 1.1.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn chain<A, B>(a: A, b: B) -> Chain<<A as >::IntoIter, <B as >::IntoIter>
Converts the arguments to iterators and links them together, in a chain.
function
core
Stable since 1.91.0
Version 1.100.0-nightly
doc.rust-lang.org
pub struct Chain<A, B>
An iterator that links two iterators together, in a chain.
struct
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod iter
Composable external iteration.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_sub_unsigned(self, rhs: usize) -> Self
Wrapping (modular) subtraction with an unsigned integer. Computes self - rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.66.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_sub(self, rhs: Self) -> Self
Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_shr(self, rhs: u32) -> Self
Panic-free bitwise shift-right; yields self >> mask(rhs), where mask removes any high-order bits of rhs that would cause the shift to exceed the bitwidth of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_shl(self, rhs: u32) -> Self
Panic-free bitwise shift-left; yields self << mask(rhs), where mask removes any high-order bits of rhs that would cause the shift to exceed the bitwidth of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_rem_euclid(self, rhs: Self) -> Self
Wrapping Euclidean remainder. Computes self.rem_euclid(rhs), wrapping around at the boundary of the type.
method
core
Stable since 1.38.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_rem(self, rhs: Self) -> Self
Wrapping (modular) remainder. Computes self % rhs, wrapping around at the boundary of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_pow(self, exp: u32) -> Self
Wrapping (modular) exponentiation. Computes self.pow(exp), wrapping around at the boundary of the type.
method
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn wrapping_neg(self) -> Self
Wrapping (modular) negation. Computes -self, wrapping around at the boundary of the type.
method
core
Stable since 1.2.0
Version 1.100.0-nightly