Function nstd_sys::string::nstd_string_as_str
source · #[no_mangle]
pub const extern "C" fn nstd_string_as_str(
string: &NSTDString<'_>
) -> NSTDStrAvailable on crate feature
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.