#[no_mangle]
pub const extern "C" fn nstd_string_as_str(
    string: &NSTDString<'_>
) -> NSTDStr
Available 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.