Crate javascriptcore

Source
Expand description

JavaScriptCore Bindings

Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app.

Structs§

JSClass
A JavaScript class.
JSClassBuilder
A builder for JSClass.
JSContext
A JavaScript execution context.
JSContextGroup
A group that associates JavaScript contexts with one another.
JSException
A wrapper for a JSValue that contains an exception.
JSObject
A JavaScript object.
JSString
A UTF16 character buffer.
JSTypedArray
A JavaScript Typed Array.
JSValue
A JavaScript value.

Enums§

JSType
A constant identifying the type of a JSValueRef.
JSTypedArrayType
A constant identifying the Typed Array type of a JSObjectRef.

Functions§

check_script_syntax
Checks for syntax errors in a string of JavaScript.
evaluate_script
Evaluates a string of JavaScript.
garbage_collect
Performs a JavaScript garbage collection.

Attribute Macros§

constructor_callback
Transforms a Rust function into a C function for being used as a JavaScript constructor callback.
function_callback
Transforms a Rust function into a C function for being used as a JavaScript callback.