Struct julia::api::Julia [] [src]

pub struct Julia { /* fields omitted */ }

Struct for controlling the Julia runtime.

Methods

impl Julia
[src]

[src]

Assume that Julia was already initialized somewhere else and return a handle.

This function is unsafe, because if any Julia operation is called, it will likely segfault. Also, the 4 jl_* modules might be null.

Panics

Panics if the Julia runtime was not previously initialized.

[src]

Initialize the Julia runtime.

Errors

Returns Error::JuliaInitialized if Julia is already initialized.

[src]

Returns the version of currently running Julia runtime.

[src]

Returns a reference to the garbage collector.

[src]

Checks if Julia was already initialized in the current thread.

[src]

Sets own status to status and consumes Julia, causing the value to be dropped.

[src]

Returns a handle to the main module.

[src]

Returns a handle to the core module.

[src]

Returns a handle to the base module.

[src]

Returns a handle to the top module.

[src]

Loads a Julia script from any Read without evaluating it.

[src]

Parses and evaluates string.

Trait Implementations

impl Drop for Julia
[src]

[src]

Executes the destructor for this type. Read more