Crate bip [−] [src]

bip (Box in place) provides a fully generic in-place map for the Box type, taking care to be panic-safe and not leak memory.

Available on crates.io. Source.

Functions

map_in_place

Execute f on the data in x, replacing the output into the same allocation.