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.
Turns a collection into an iterator.
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.
Performs a sort that caches the extracted keys
Performs an unstable sort
Returns a sorted, by-value iterator for the given IndexMap/IndexSet
Turns a collection into an iterator.
Applies fold to the iterator
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.
This macro provides a VM runtime environment which will safely halt
without producing logs that look like unexpected behavior.
In debug mode, it prints to stderr using the format: “VM safely halted at : ”.