[−][src]Type Definition swim_mem::lease::RefString
type RefString<'a, M = ()> = Ref<'a, String<M>>;
Immutably 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 RefString
allocated in the global hold:
let s = RefString::from_copy("Hello");