Re-exports§
pub use biginteger::*;pub use bititerator::*;pub use bits::*;pub use bytes::*;pub use defer::*;pub use error::*;pub use iterator::*;pub use parallel::*;pub use self::rand::*;pub use serialize::*;
Modules§
Macros§
- cfg_
chunks - Returns an iterator over
chunk_sizeelements of the slice at a time. - cfg_
chunks_ mut - Returns an iterator over
chunk_sizeelements of the slice at a time. - cfg_
find - Find an element
ewherelambda(e)evalutes to true (if any). - cfg_
find_ map - Applies a function and returns an entry where
lambda(e)is not None. - cfg_
into_ iter - Creates parallel iterator if
parallelfeature is enabled. - cfg_
iter - Creates parallel iterator over refs if
parallelfeature is enabled. - cfg_
iter_ mut - Creates parallel iterator over mut refs if
parallelfeature is enabled. - cfg_
keys - Turns a collection into an iterator.
- cfg_
par_ bridge - Creates parallel iterator from iterator if
parallelfeature is enabled. - cfg_
reduce - Applies the reduce operation over an iterator.
- cfg_
reduce_ with - Applies
reduce_withorreducedepending on theserialfeature. - cfg_
sort_ by_ cached_ key - Performs a sort that caches the extracted keys
- cfg_
sort_ unstable_ by - Performs an unstable sort
- cfg_
sorted_ by - Returns a sorted, by-value iterator for the given IndexMap/IndexSet
- cfg_
values - Turns a collection into an iterator.
- cfg_
zip_ fold - Applies fold to the iterator
- defer
- dev_
eprintln - If the
dev-printfeature is enabled,eprintln. - dev_
println - If the
dev-printfeature is enabled,println. - push_
bytes_ to_ vec - to_
bits_ le - Takes as input a sequence of objects, and converts them to a series of little-endian bits.
All traits that implement
ToBitscan be automatically converted to bits in this manner. - to_
bytes_ le - Takes as input a sequence of structs, and converts them to a series of little-endian bytes.
All traits that implement
ToBytescan be automatically converted to bytes in this manner. - try_
vm_ runtime - 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 {location}: {halt message}”.