Skip to main content

unsafe_jsstr_to_string

Function unsafe_jsstr_to_string 

Source
pub unsafe fn unsafe_jsstr_to_string(
    cx: *mut JSContext,
    jsstr: NonNull<JSString>,
) -> String
👎Deprecated: Use jsstr_to_string instead
Expand description

Converts a JSString into a String, regardless of used encoding.

Use jsstr_to_string if possible as this function will be eventually removed.