[−][src]Type Definition swim_mem::lease::MutString
type MutString<'a, M = ()> = Mut<'a, String<M>>;
Mutably dereferenceable strong owner of a resizeable Unicode string
stored in a Hold
-allocated, atomically reference counted memory block.
Examples
Copy a string literal into a MutString
allocated in the global hold:
let s = MutString::from_copy("Hello");
Concatenate a MutString
with another str
using the +
operator:
let s = MutString::from_copy("Hello"); let message = s + " world";