Returns an iterator over chunk_size
elements of the slice at a
time.
Returns an iterator over chunk_size
elements of the slice at a time.
Finds the first element that satisfies the predicate function
Applies a function and returns the first value that is not None
Creates parallel iterator if parallel
feature is enabled.
Creates parallel iterator over refs if parallel
feature is enabled.
Creates parallel iterator over mut refs if parallel
feature is enabled.
Creates parallel iterator from iterator if parallel
feature is enabled.
Applies the reduce operation over an iterator.
Applies reduce_with
or reduce
depending on the serial
feature.
Turns a collection into an iterator.
Applies fold to the iterator
This purpose of this macro is to catch the instances of halting
without producing logs looking like unexpected panics. It prints
to stderr using the format: “Halted at : ”.
Takes as input a sequence of objects, and converts them to a series of little-endian bits.
All traits that implement ToBits
can be automatically converted to bits in this manner.
Takes as input a sequence of structs, and converts them to a series of little-endian bytes.
All traits that implement ToBytes
can be automatically converted to bytes in this manner.