to_owned

Function to_owned 

Source
pub(crate) fn to_owned(slice: &Wtf8) -> Wtf8Buf
🔬This is a nightly-only experimental API. (wtf8_internals)
Expand description

Creates an owned Wtf8Buf from a borrowed Wtf8.