Module drain

Source

StructsΒ§

Drain πŸ”’
See drain_array_with – this is pub(crate) only so it’s allowed to be mentioned in the signature of that method. (Otherwise it hits E0446.)

FunctionsΒ§

drain_array_with πŸ”’
A situationally-optimized version of array.into_iter().for_each(func).