Function nstd_sys::string::nstd_string_as_str
source · #[no_mangle]
pub extern "C" fn nstd_string_as_str(string: &NSTDString) -> NSTDStrAvailable on crate feature
nstd_string only.Expand description
Creates a string slice containing the contents of string.
Parameters:
const NSTDString *string- The string.
Returns
NSTDStr str - The new string slice.