Function growable::replace [−][src]
pub fn replace<T, U>(this: Reusable<T>, u: U) -> Reusable<U> where
T: ?Sized, Replaces the value, dropping the old one but not the memory associated with it.
Notes
Has the same result as a manual call to Reusable::free and then Growable::consume.