Struct chakracore_sys::JsRuntimeHandle [] [src]

#[repr(C)]
pub struct JsRuntimeHandle(pub *mut c_void);

A handle to a Chakra runtime. Each Chakra runtime has its own independent execution engine, JIT compiler, and garbage collected heap. As such, each runtime is completely isolated from other runtimes. Runtimes can be used on any thread, but only one thread can call into a runtime at any time. NOTE: A JsRuntimeHandle, unlike other object references in the Chakra hosting API, is not garbage collected since it contains the garbage collected heap itself. A runtime will continue to exist until JsDisposeRuntime is called.

Methods

impl JsRuntimeHandle
[src]

Trait Implementations

impl Eq for JsRuntimeHandle
[src]

impl PartialEq for JsRuntimeHandle
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for JsRuntimeHandle
[src]

impl Clone for JsRuntimeHandle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for JsRuntimeHandle
[src]

Formats the value using the given formatter.

impl Send for JsRuntimeHandle
[src]