Function mozjs::conversions::jsstr_to_string[][src]

pub unsafe fn jsstr_to_string(
    cx: *mut JSContext,
    jsstr: *mut JSString
) -> String
Expand description

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