Evobox
A pointer type which allows for safe transformations of its content without reallocation.
This crate does not depend on the standard library, and can be used in #![no_std]
contexts.
It does however require the alloc
crate.
Examples
use ;
let s: = new;
let owned = s.evolve;
assert_eq!;
let seven = owned.try_evolve.expect;
assert_eq!;